File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Assets/Integrations/Autodesk/maya/scripts Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ proc importFile(string $filePathStr){
147
147
}
148
148
149
149
namespace -set $nameWithoutExt;
150
- file -import -type "fbx " -namespace $nameWithoutExt $filePathStr;
150
+ file -import -type "FBX " -ignoreVersion -ra true -mergeNamespacesOnClash true -pr -importFrameRate true -importTimeRange "override" $filePathStr;
151
151
152
152
namespace -set $origNamespace;
153
153
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FBXResetImport;
3
3
FBXImportAxisConversionEnable -v true;
4
4
FBXImportCameras -v true;
5
5
FBXImportLights -v true;
6
+ FBXImportSetMayaFrameRate -v true;
7
+
8
+ FBXImportSetTake -takeIndex -1;
6
9
7
10
// Add and update animation
8
11
FBXImportMode -v merge;
You can’t perform that action at this time.
0 commit comments