Skip to content

Commit cc4aa14

Browse files
committed
fix variable name
forgot to rename t to head
1 parent db414f7 commit cc4aa14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Integrations/Autodesk/max/scripts/UnityFbxForMaxPlugin.ms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ macroScript UnityImport category:"Unity"
4545
-- Change Unity project if fbx is from a different Unity project.
4646
-- Get the project based on the folder structure (i.e. folder above Assets)
4747
local head = unityFbxFilePathAttr
48-
head = trimRight t "\\/"
48+
head = trimRight head "\\/"
4949
-- Check that we are not at the root directory.
5050
while head != "" and not (pathConfig.isRootPath head) do(
5151
if (pathConfig.stripPathToLeaf head) == "Assets" do (

0 commit comments

Comments
 (0)