We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7736fd + 2519966 commit 3364eb0Copy full SHA for 3364eb0
3ds Max/Max2Babylon/OnPostBuild.bat
@@ -3,9 +3,15 @@ SETLOCAL enabledelayedexpansion
3
4
5
SET max_version=%2
6
+SET exporter_version=%max_version%
7
SET max_location=!ADSK_3DSMAX_x64_%max_version%!
8
-SET source_dir="%~dp0%max_version%\bin\%1"
9
+IF %exporter_version%==2016 SET exporter_version=2015
10
+
11
+ECHO "Max version is %max_version%"
12
+ECHO "Exporter version is %exporter_version%"
13
14
+SET source_dir="%~dp0%exporter_version%\bin\%1"
15
ECHO %source_dir%
16
17
IF "%max_location%"=="" (
@@ -67,4 +73,4 @@ GOTO Close
67
73
68
74
:Close
69
75
PAUSE
70
-EXIT
76
+EXIT
0 commit comments