diff --git a/MaxNifTools.ini b/MaxNifTools.ini index ff4a2a64ae1d24e40136bcd755ad1169a85d7724..a7036e6c0415004e81ab12514820d7c2b2c7077f 100644 --- a/MaxNifTools.ini +++ b/MaxNifTools.ini @@ -137,8 +137,8 @@ BipedTrianglePelvis=0 RemoveUnusedImportedBones=0 ; Minimum Bone Width / Maximum Bone Width / Ratio of Width to Length MinBoneWidth=0.001 -MaxBoneWidth=0.1 -BoneWidthToLengthRatio=0.01 +MaxBoneWidth=5 +BoneWidthToLengthRatio=0.25 ; Force nub to point back to parent at expense of loss of rotation data. Default: 1 ForceRotation=0 ; DefaultName for Skeletons (use if in same directory as imported nif) diff --git a/MaxNifTools.iss b/MaxNifTools.iss index 784b89218b9f0b75be6e29daf9948c5d59289794..92987faa71cfcad817f63b9f143bcf194b205a35 100644 --- a/MaxNifTools.iss +++ b/MaxNifTools.iss @@ -74,10 +74,10 @@ Source: "Staging\Release - Max 9\NifPlugins.dlu"; DestDir: "{code:InstallPath|ma Source: "Staging\Release - Max 9\MaxNifTools.ini"; DestDir: "{code:InstallPath|max9}{\}plugcfg"; Components: "max9"; Flags: ignoreversion; Source: "Staging\Release - Max 9\MaxNifTools.ini"; DestDir: "{localappdata}{\}Autodesk\3dsmax\9 - 32bit\enu\plugcfg"; Components: "max9"; Flags: ignoreversion; -Source: "Staging\x64\Release - Max 9\MaxNifPlugins_Readme.txt"; DestDir: "{code:InstallPath|max9x64}"; Components: "max9x64"; Flags: isreadme ignoreversion; -Source: "Staging\x64\Release - Max 9\NifPlugins.dlu"; DestDir: "{code:InstallPath|max9x64}{\}plugins"; Components: "max9x64"; Flags: ignoreversion; -Source: "Staging\x64\Release - Max 9\MaxNifTools.ini"; DestDir: "{code:InstallPath|max9x64}{\}plugcfg"; Components: "max9x64"; Flags: ignoreversion; -Source: "Staging\x64\Release - Max 9\MaxNifTools.ini"; DestDir: "{localappdata}{\}Autodesk\3dsmax\9 - 64bit\enu\plugcfg"; Components: "max9x64"; Flags: ignoreversion; +Source: "Staging\Release - Max 9 - x64\MaxNifPlugins_Readme.txt"; DestDir: "{code:InstallPath|max9x64}"; Components: "max9x64"; Flags: isreadme ignoreversion; +Source: "Staging\Release - Max 9 - x64\NifPlugins.dlu"; DestDir: "{code:InstallPath|max9x64}{\}plugins"; Components: "max9x64"; Flags: ignoreversion; +Source: "Staging\Release - Max 9 - x64\MaxNifTools.ini"; DestDir: "{code:InstallPath|max9x64}{\}plugcfg"; Components: "max9x64"; Flags: ignoreversion; +Source: "Staging\Release - Max 9 - x64\MaxNifTools.ini"; DestDir: "{localappdata}{\}Autodesk\3dsmax\9 - 64bit\enu\plugcfg"; Components: "max9x64"; Flags: ignoreversion; ;Source: "src\*"; DestDir: "{reg:HKLM\SOFTWARE\Bethesda Softworks\Oblivion,Path|{pf}{\}Bethesda Softworks\Oblivion}\Data\niftools"; Components: "src"; Flags: ignoreversion recursesubdirs; diff --git a/NifCommon/NifVersion.h b/NifCommon/NifVersion.h index 72947907976864ffa5b51c79daa1583d3ef6d873..2060d4cc9342ee8ebed7ed9bb9e063682c17616b 100644 --- a/NifCommon/NifVersion.h +++ b/NifCommon/NifVersion.h @@ -19,9 +19,9 @@ HISTORY: #define VERSION_MAJOR_INT 0 #define VERSION_MINOR_INT 2 #define VERSION_BUILD_INT 13 -#define VERSION_PATCH_INT 0 +#define VERSION_PATCH_INT 1 -#define VERSION_STRING "0, 2, 13, 0" +#define VERSION_STRING "0, 2, 13, 1" //#define DEF_VERSION_STRING(a,b,c,d) #a ", " #b ", " #c ", " #d //#define VERSION_STRING DEF_VERSION_STRING(a,b,c,d) diff --git a/NifImport/ImportSkeleton.cpp b/NifImport/ImportSkeleton.cpp index 60d709156dfe77c368c5bbb8559a5e972eb1ebbf..01b98e2f9ac9ac5b1f865f19a8759cb6fda7b74b 100644 --- a/NifImport/ImportSkeleton.cpp +++ b/NifImport/ImportSkeleton.cpp @@ -474,8 +474,13 @@ INode *NifImporter::CreateBone(const string& name, Point3 startPos, Point3 endPo setMAXScriptValue(o->GetReference(0), "width", 0, width); setMAXScriptValue(o->GetReference(0), "height", 0, width); } +#if VERSION_3DSMAX > ((6000<<16)+(15<<8)+0) // Version 6 n->BoneAsLine(1); n->ShowBone(2); +#else + //n->BoneAsLine(1); + n->ShowBone(1); +#endif } return result.n; }