Skip to content

Commit

Permalink
fix call to non-existent function in pxrUsd plugin's usdTranslatorImport
Browse files Browse the repository at this point in the history
The existing call to usdTranslatorImport_SetOptionMenuByAnnotation() was
replaced with a call to usdTranslatorImport_SetShadingOptionMenuByAnnotation()
in Autodesk#865, but the latter does not exist anywhere. This reverts that change.
  • Loading branch information
mattyjams committed Nov 2, 2020
1 parent f144c43 commit 094faab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/pxr/maya/lib/usdMaya/usdTranslatorImport.mel
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ global proc int usdTranslatorImport (string $parent,
for ($index = 0; $index < size($optionList); $index++) {
tokenize($optionList[$index], "=", $optionBreakDown);
if ($optionBreakDown[0] == "shadingMode") {
usdTranslatorImport_SetShadingOptionMenuByAnnotation($optionBreakDown[1], "shadingModePopup");
usdTranslatorImport_SetOptionMenuByAnnotation($optionBreakDown[1], "shadingModePopup");
} else if ($optionBreakDown[0] == "readAnimData") {
usdTranslatorImport_SetCheckbox($optionBreakDown[1], "readAnimDataCheckBox");
} else if ($optionBreakDown[0] == "useAsAnimationCache") {
Expand Down

0 comments on commit 094faab

Please sign in to comment.