Skip to content

Commit e85e92f

Browse files
authored
Merge pull request #301 from Unity-Technologies/UNI-37344-sprint45-release
UNI-37344 sprint 45 release
2 parents c3479b2 + 1d9c17f commit e85e92f

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Linq;
77
using System;
88
using FbxExporters.Editor;
9-
using UnityEngine.TestTools;
109

1110
namespace FbxExporters
1211
{
@@ -235,8 +234,12 @@ public static void UpdateLinkedPrefab(GameObject prefabInstance)
235234

236235
foreach (var fbxPrefabComponent in prefab.GetComponentsInChildren<FbxPrefab>())
237236
{
237+
// Launch the manual update UI to allow the user to fix
238+
// renamed nodes (or auto-update if there's nothing to rename).
238239
var fbxPrefabUtility = new FbxPrefabUtility(fbxPrefabComponent);
239-
fbxPrefabUtility.SyncPrefab();
240+
ManualUpdateEditorWindow window = (ManualUpdateEditorWindow)EditorWindow.GetWindow(typeof(ManualUpdateEditorWindow));
241+
window.Init(fbxPrefabUtility, fbxPrefabComponent);
242+
window.Show();
240243
}
241244
}
242245

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif()
2323
message(STATUS "Building for ${CMAKE_BUILD_TYPE}")
2424

2525
if (NOT DEFINED PACKAGE_VERSION OR "${PACKAGE_VERSION}" STREQUAL "")
26-
set(PACKAGE_VERSION "1.3.0a1")
26+
set(PACKAGE_VERSION "sprint45")
2727
endif()
2828
message(STATUS "Using Package Version: ${PACKAGE_VERSION}")
2929

@@ -188,6 +188,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
188188
"${CMAKE_SOURCE_DIR}/Assets/FbxExporters/Editor/FbxPrefabInspector.cs"
189189
"${CMAKE_SOURCE_DIR}/Assets/FbxExporters/Editor/ConvertToModel.cs"
190190
"${CMAKE_SOURCE_DIR}/Assets/FbxExporters/Editor/FbxExporterRepairMissingScripts.cs"
191+
"${CMAKE_SOURCE_DIR}/Assets/FbxExporters/Editor/ManualUpdateEditorWindow.cs"
191192
REFERENCES
192193
"${CSHARP_MSCORLIB_LIBRARY}"
193194
"${CSHARP_SYSTEM_CORE_LIBRARY}"
@@ -244,6 +245,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
244245
PATTERN "Editor/EditorRotate.cs" EXCLUDE
245246
PATTERN "Editor/FbxPrefabAutoUpdater.cs" EXCLUDE
246247
PATTERN "Editor/ConvertToModel.cs" EXCLUDE
248+
PATTERN "Editor/ManualUpdateEditorWindow.cs" EXCLUDE
247249
PATTERN "Editor/FbxPrefabInspector.cs" EXCLUDE
248250
PATTERN "Editor/FbxExporterRepairMissingScripts.cs" EXCLUDE)
249251
install(FILES ${CLASS_LIBRARY_DEST}/${EDITOR_CLASS_LIBRARY_NAME} DESTINATION FbxExporters/Editor)

RELEASE_NOTES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
RELEASE NOTES
22

3+
**Version**: sprint45
4+
5+
NEW FEATURES
6+
7+
* (Alpha) FbxPrefabAutoUpdater: new UI to help manage name changes.
8+
To use the UI, disable auto-update in the FbxExporter settings, then right-click on a linked prefab in the project view and select "Update from FBX"
9+
10+
* FbxExporter: Added animation only export
11+
12+
Use GameObject menu or context menu to select "Export Animation Only". Animation will be taken from
13+
Animation and Animator components. All animation clips will be saved to the same fbx.
14+
The first clip exported will be the default clip from the root Animator or Animation component.
15+
316
**Version**: 1.3.0a1
417

518
FIXES

0 commit comments

Comments
 (0)