Skip to content
Snippets Groups Projects
Commit 0eb2e335 authored by Tazpn's avatar Tazpn
Browse files

Check CollapseTransforms by default. Fix issue with installer and extra }...

Check CollapseTransforms by default.  Fix issue with installer and extra } when max install path is not found.
parent fc9f171a
No related branches found
No related tags found
No related merge requests found
......@@ -68,8 +68,8 @@ BonesPerPartition=18
UseTimeTags=0
AllowAccum=1
Creator=
; Collapse Transforms to final position. Default: 0
CollapseTransforms=0
; Collapse Transforms to final position. Default: 1
CollapseTransforms=1
; Add Tangent and Binormal Extra Data block. Default: 0
TangentAndBinormalExtraData=0
FixNormals=0
......
......@@ -96,25 +96,25 @@ begin
case Param of
'gmax12':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\gmax', 'uninstallpath', Result) then
Result := ExpandConstant('{sd}{\}gmax12}');
Result := ExpandConstant('{sd}{\}gmax12');
'max4':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3ds max 4', 'uninstallpath', Result) then
Result := ExpandConstant('{sd}{\}3dsmax4}');
Result := ExpandConstant('{sd}{\}3dsmax4');
'max42':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3ds max 4', 'uninstallpath', Result) then
Result := ExpandConstant('{sd}{\}3dsmax42}');
Result := ExpandConstant('{sd}{\}3dsmax42');
'max5':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3ds max 5', 'uninstallpath', Result) then
Result := ExpandConstant('{sd}{\}3dsmax5}');
Result := ExpandConstant('{sd}{\}3dsmax5');
'max6':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Autodesk\3dsMax\6.0', 'InstallDir', Result) then
Result := ExpandConstant('{sd}{\}3dsmax6}');
Result := ExpandConstant('{sd}{\}3dsmax6');
'max7':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Autodesk\3dsMax\7.0', 'InstallDir', Result) then
Result := ExpandConstant('{sd}{\}3dsmax7}');
Result := ExpandConstant('{sd}{\}3dsmax7');
'max8':
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Autodesk\3dsMax\8.0', 'InstallDir', Result) then
Result := ExpandConstant('{sd}{\}3dsmax8}');
Result := ExpandConstant('{sd}{\}3dsmax8');
'max9':
begin
if RegGetSubkeyNames(HKEY_LOCAL_MACHINE, 'SOFTWARE\Autodesk\3dsMax\9.0', Names) then begin
......
......@@ -40,7 +40,7 @@ bool Exporter::mUseTimeTags = false;
bool Exporter::mAutoDetect = true;
bool Exporter::mAllowAccum = true;
string Exporter::mCreatorName;
bool Exporter::mCollapseTransforms = false;
bool Exporter::mCollapseTransforms = true;
bool Exporter::mFixNormals = false;
bool Exporter::mTangentAndBinormalExtraData = false;
bool Exporter::mSupportPrnStrings = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment