Skip to content

Commit

Permalink
Merge pull request #319 from Unity-Technologies/UNI-39322-sprint47-re…
Browse files Browse the repository at this point in the history
…lease

UNI-39322 sprint 47 release
  • Loading branch information
vkovec authored Feb 26, 2018
2 parents ab5c025 + 2eeb6aa commit 6474c10
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/FbxExporters/Editor/FbxExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down
26 changes: 26 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 8 additions & 0 deletions meta/FbxExporters/RELEASE_NOTES.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6474c10

Please sign in to comment.