Skip to content

Commit c7b2dc3

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/0.0.14a-austin-unite-release' into UNI-27141-rename-maya-plugin
2 parents 8286055 + 1687308 commit c7b2dc3

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public class ModelExporter : System.IDisposable
5252

5353
const int UnitScaleFactor = 100;
5454

55+
public const string PACKAGE_UI_NAME = "FBX Exporter";
56+
5557
/// <summary>
5658
/// Create instance of exporter.
5759
/// </summary>
@@ -1005,7 +1007,7 @@ public int ExportAll (IEnumerable<UnityEngine.Object> unityExportSet)
10051007
fbxSceneInfo.mRevision = "1.0";
10061008
fbxSceneInfo.mKeywords = Keywords;
10071009
fbxSceneInfo.mComment = Comments;
1008-
fbxSceneInfo.Original_ApplicationName.Set("Unity FbxExporter Plugin");
1010+
fbxSceneInfo.Original_ApplicationName.Set(string.Format("Unity {0}", PACKAGE_UI_NAME));
10091011
// set last saved to be the same as original, as this is a new file.
10101012
fbxSceneInfo.LastSaved_ApplicationName.Set(fbxSceneInfo.Original_ApplicationName.Get());
10111013

@@ -1180,7 +1182,7 @@ public static bool OnValidateMenuItem ()
11801182
public static void DisplayNoSelectionDialog()
11811183
{
11821184
UnityEditor.EditorUtility.DisplayDialog (
1183-
"Fbx Exporter Warning",
1185+
string.Format("{0} Warning", PACKAGE_UI_NAME),
11841186
"No GameObjects selected for export.",
11851187
"Ok");
11861188
}

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static string FindFbxPrefabAssetPath()
3939
return path;
4040
}
4141
}
42-
Debug.LogError("FbxPrefab.cs not found; are you trying to uninstall FbxExporters?");
42+
Debug.LogError(string.Format("{0} not found; are you trying to uninstall {1}?", FBX_PREFAB_FILE.Substring(1), FbxExporters.Editor.ModelExporter.PACKAGE_UI_NAME));
4343
return "";
4444
}
4545

Assets/FbxExporters/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FbxExporters Package
1+
FbxExporter Package
22
====================
33

44
Copyright (c) 2017 Unity Technologies. All rights reserved.

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ 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.0")
26+
set(PACKAGE_VERSION "1.0.0f1")
2727
endif()
2828
message(STATUS "Using Package Version: ${PACKAGE_VERSION}")
2929

3030
if (NOT DEFINED PACKAGE_PATH OR "${PACKAGE_PATH}" STREQUAL "")
31-
set(PACKAGE_PATH "${CMAKE_BINARY_DIR}/FbxExporters_${PACKAGE_VERSION}.unitypackage")
31+
set(PACKAGE_PATH "${CMAKE_BINARY_DIR}/FbxExporter_${PACKAGE_VERSION}.unitypackage")
3232
endif()
3333
message(STATUS "Creating Exporter Package at: ${PACKAGE_PATH}")
3434

@@ -205,7 +205,8 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
205205
PATTERN "Editor/EditorRotate.cs" EXCLUDE
206206
PATTERN "Editor/FbxPrefabAutoUpdater.cs" EXCLUDE
207207
PATTERN "Editor/ConvertToModel.cs" EXCLUDE
208-
PATTERN "Editor/FbxPrefabInspector.cs" EXCLUDE)
208+
PATTERN "Editor/FbxPrefabInspector.cs" EXCLUDE
209+
PATTERN "Integrations/BringToFront.exe" EXCLUDE)
209210
install(FILES ${CLASS_LIBRARY_DEST}/${EDITOR_CLASS_LIBRARY_NAME} DESTINATION FbxExporters/Editor)
210211
install(FILES ${CLASS_LIBRARY_DEST}/${RUNTIME_CLASS_LIBRARY_NAME} DESTINATION FbxExporters)
211212
else()

0 commit comments

Comments
 (0)