diff --git a/lib/mayaUsd/fileio/shading/shadingModeUseRegistry.cpp b/lib/mayaUsd/fileio/shading/shadingModeUseRegistry.cpp index 9b71970b49..be23d3687a 100644 --- a/lib/mayaUsd/fileio/shading/shadingModeUseRegistry.cpp +++ b/lib/mayaUsd/fileio/shading/shadingModeUseRegistry.cpp @@ -283,7 +283,7 @@ class UseRegistryShadingModeExporter : public UsdMayaShadingModeExporter } bool allowedNode = false; - for (unsigned int j = 0; j < allowedNodes.length(); ++j) { + for (unsigned int j = 0; j < allowedNodes.length(); ++j) { if (dstPlug.node() == allowedNodes[j]) { allowedNode = true; break;