From d25b55e2961a1c2626217a2e44264095bd0dc248 Mon Sep 17 00:00:00 2001 From: vkovec Date: Fri, 23 Feb 2018 13:27:58 -0500 Subject: [PATCH 1/3] write release notes + update version # --- CMakeLists.txt | 2 +- RELEASE_NOTES.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57f15b9c5..1e107b661 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ endif() message(STATUS "Building for ${CMAKE_BUILD_TYPE}") if (NOT DEFINED PACKAGE_VERSION OR "${PACKAGE_VERSION}" STREQUAL "") - set(PACKAGE_VERSION "sprint46") + set(PACKAGE_VERSION "sprint47") endif() message(STATUS "Using Package Version: ${PACKAGE_VERSION}") diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 34f5636c7..8ad81a0e3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,31 @@ RELEASE NOTES +**Version**: sprint47 + +NEW FEATURES + +* Unity Maya Integration: Add all imported objects to same namespace + +Namespace is created according to the filename and is stored as an attribute on the export set. + +* Fbx Exporter: "Export Model" option exports with global transform + +Center Objects option is disabled by default but still available in the export settings. + +* Fbx Export Settings: Add LOD export option + +Added 3 options for LOD export: Highest, Lowest, All. +If "Highest" is selected, then only highest LOD is exported in the hierarchy for GameObjects with LOD groups, and +vice versa for "Lowest". If All is selected, behaviour will be the same as before, exporting all LODs. +NOTE: will ignore any LOD meshes not directly parented under the object containing the LOD group. + +FIXES + +* ConvertToPrefab: Don't re-export fbx model instances + +If the object being exported in the scene is an fbx model instance, then create the prefab with the FbxPrefab component, +and attach it to the existing fbx without re-exporting the fbx. + **Version**: sprint46 NEW FEATURES From 6310a4522bd44a2edf4e49631e4a6cc741e1e87f Mon Sep 17 00:00:00 2001 From: vkovec Date: Mon, 26 Feb 2018 10:41:24 -0500 Subject: [PATCH 2/3] fix incorrect transform on export issue is caused by trying to find the center of a single object, where the pivot is not the same as the center. --- Assets/FbxExporters/Editor/FbxExporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/FbxExporters/Editor/FbxExporter.cs b/Assets/FbxExporters/Editor/FbxExporter.cs index 0807f463f..7bbc16258 100644 --- a/Assets/FbxExporters/Editor/FbxExporter.cs +++ b/Assets/FbxExporters/Editor/FbxExporter.cs @@ -2813,7 +2813,7 @@ public int ExportAll ( Vector3 center = Vector3.zero; if(exportType == TransformExportType.Global){ - center = ExportSettings.centerObjects? FindCenter(revisedExportSet) : Vector3.zero; + center = (ExportSettings.centerObjects && revisedExportSet.Count > 1)? FindCenter(revisedExportSet) : Vector3.zero; } foreach (var unityGo in revisedExportSet) { From 2eeb6aa3d4ed9cf51c7c1521545ea988f68b2440 Mon Sep 17 00:00:00 2001 From: vkovec Date: Mon, 26 Feb 2018 11:02:50 -0500 Subject: [PATCH 3/3] store meta for release notes - avoid guid warning on package import --- meta/FbxExporters/RELEASE_NOTES.txt.meta | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/FbxExporters/RELEASE_NOTES.txt.meta diff --git a/meta/FbxExporters/RELEASE_NOTES.txt.meta b/meta/FbxExporters/RELEASE_NOTES.txt.meta new file mode 100644 index 000000000..28846e856 --- /dev/null +++ b/meta/FbxExporters/RELEASE_NOTES.txt.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 34004d94a3eaab7499e7ae9e76253702 +timeCreated: 1517510435 +licenseType: Free +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: