Skip to content

Commit

Permalink
missing python import
Browse files Browse the repository at this point in the history
  • Loading branch information
pmolodo committed Feb 9, 2017
1 parent 0dc1c62 commit f10b832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/maya/lib/usdMaya/translatorModelAssembly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ PxrUsdMayaTranslatorModelAssembly::Read(
// seems to be the only way to ensure that the assembly's namespace and
// container are setup correctly.
const std::string assemblyCmd =
TfStringPrintf("cmds.assembly(name=\'%s\', type=\'%s\')",
TfStringPrintf("import maya.cmds; maya.cmds.assembly(name=\'%s\', type=\'%s\')",
prim.GetName().GetText(),
assemblyTypeName.c_str());
MString newAssemblyName;
Expand Down

0 comments on commit f10b832

Please sign in to comment.