Skip to content

Commit dc0df4b

Browse files
committed
copy package version into .mod
accidentally removed this before
1 parent 89e64ff commit dc0df4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Integrations
1111
private const string PACKAGE_NAME = "FbxExporters";
1212
private const string VERSION_FILENAME = "README.txt";
1313
private const string VERSION_FIELD = "**Version**";
14+
private const string VERSION_TAG = "{Version}";
1415
private const string PROJECT_TAG = "{UnityProject}";
1516

1617
private const string FBX_EXPORT_SETTINGS_PATH = "Integrations/Autodesk/maya/scripts/unityFbxExportSettings.mel";
@@ -302,6 +303,7 @@ public static bool InstallMaya(bool verbose = false)
302303
{
303304
Dictionary<string,string> Tokens = new Dictionary<string,string>()
304305
{
306+
{VERSION_TAG, GetPackageVersion() },
305307
{PROJECT_TAG, GetProjectPath() }
306308
};
307309

0 commit comments

Comments
 (0)