We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db414f7 commit cc4aa14Copy full SHA for cc4aa14
Assets/Integrations/Autodesk/max/scripts/UnityFbxForMaxPlugin.ms
@@ -45,7 +45,7 @@ macroScript UnityImport category:"Unity"
45
-- Change Unity project if fbx is from a different Unity project.
46
-- Get the project based on the folder structure (i.e. folder above Assets)
47
local head = unityFbxFilePathAttr
48
- head = trimRight t "\\/"
+ head = trimRight head "\\/"
49
-- Check that we are not at the root directory.
50
while head != "" and not (pathConfig.isRootPath head) do(
51
if (pathConfig.stripPathToLeaf head) == "Assets" do (
0 commit comments