Skip to content

Commit e3ed611

Browse files
authored
Merge pull request #483 from Unity-Technologies/v2.0.3-preview.1
V2.0.3 preview.1 - fixes packaging for FBX exporter integrations.
2 parents 7a800d9 + 2ea2859 commit e3ed611

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changes in Fbx Exporter
22

33

4+
## [2.0.3-preview.1] - 2019-08-27
5+
6+
FIXES
7+
* Integrations were missing in 2.0.2 and 2.0.1 due to a packaging bug. They are back now.
48

59
## [2.0.2-preview.1] - 2019-06-20
610

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ project (UnityFbxExporterEditorPackage NONE)
1010

1111
set(MAYA_INTEGRATION_COPY_TARGET CopyMayaIntegration)
1212
set(MAYA_INTEGRATION_ZIP_TARGET ZipMayaIntegration)
13-
set(MAYA_INTEGRATION_ZIP_NAME "UnityFbxForMaya.zip")
13+
set(MAYA_INTEGRATION_ZIP_NAME "UnityFbxForMaya.7z")
1414

1515
set(MAX_INTEGRATION_ZIP_TARGET ZipMaxIntegration)
16-
set(MAX_INTEGRATION_ZIP_NAME "UnityFbxForMax.zip")
16+
set(MAX_INTEGRATION_ZIP_NAME "UnityFbxForMax.7z")
1717

1818
configure_file("${CMAKE_SOURCE_DIR}/Integrations/Autodesk/maya/scripts/unitySetupUI.mel.in"
1919
"${CMAKE_BINARY_DIR}/Integrations/Autodesk/maya/scripts/unitySetupUI.mel"
@@ -36,7 +36,7 @@ add_custom_command(OUTPUT ${MAYA_INTEGRATION_FILES}
3636
add_custom_target(${MAYA_INTEGRATION_COPY_TARGET} ALL DEPENDS ${MAYA_INTEGRATION_FILES})
3737

3838
add_custom_command(OUTPUT ${MAYA_INTEGRATION_ZIP_NAME}
39-
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_BINARY_DIR}/${MAYA_INTEGRATION_ZIP_NAME} --format=zip
39+
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_BINARY_DIR}/${MAYA_INTEGRATION_ZIP_NAME} --format=7zip
4040
"${CMAKE_BINARY_DIR}/Integrations/Autodesk/maya"
4141
MAIN_DEPENDENCY "${CMAKE_SOURCE_DIR}/Integrations/Autodesk/maya"
4242
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
@@ -46,7 +46,7 @@ add_custom_target(${MAYA_INTEGRATION_ZIP_TARGET} ALL DEPENDS ${MAYA_INTEGRATION_
4646
add_dependencies(${MAYA_INTEGRATION_ZIP_TARGET} ${MAYA_INTEGRATION_COPY_TARGET})
4747

4848
add_custom_command(OUTPUT ${MAX_INTEGRATION_ZIP_NAME}
49-
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_BINARY_DIR}/${MAX_INTEGRATION_ZIP_NAME} --format=zip
49+
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_BINARY_DIR}/${MAX_INTEGRATION_ZIP_NAME} --format=7zip
5050
"${CMAKE_SOURCE_DIR}/Integrations/Autodesk/max"
5151
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
5252
COMMENT "Zipping 3DsMax Integration folder"

com.unity.formats.fbx/Editor/InstallIntegration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ internal class MayaIntegration : DCCIntegration
9696
{
9797
public override string DccDisplayName { get { return "Maya"; } }
9898

99-
public override string IntegrationZipPath { get { return "UnityFbxForMaya.zip"; } }
99+
public override string IntegrationZipPath { get { return "UnityFbxForMaya.7z"; } }
100100

101101
private string FBX_EXPORT_SETTINGS_PATH { get { return "/Integrations/Autodesk/maya/scripts/unityFbxExportSettings.mel"; } }
102102

@@ -589,7 +589,7 @@ internal class MaxIntegration : DCCIntegration
589589
private const string ExportSettingsTag = "UnityFbxExportSettings";
590590
private const string ImportSettingsTag = "UnityFbxImportSettings";
591591

592-
public override string IntegrationZipPath { get { return "UnityFbxForMax.zip"; } }
592+
public override string IntegrationZipPath { get { return "UnityFbxForMax.7z"; } }
593593

594594
/// <summary>
595595
/// Gets the absolute Unity path for relative path in Integrations folder.

com.unity.formats.fbx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.formats.fbx",
33
"displayName": "FBX Exporter",
4-
"version": "2.0.2-preview.1",
4+
"version": "2.0.3-preview.1",
55
"dependencies": {
66
"com.unity.timeline": "1.0.0",
77
"com.autodesk.fbx": "2.0.1-preview.1"

0 commit comments

Comments
 (0)