mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
add double check on the created namespace. this fixes problem with asseblies not loading becasue of the wron namespace
This commit is contained in:
parent
90b3a1f783
commit
366aec21a2
1 changed files with 3 additions and 0 deletions
|
|
@ -190,6 +190,9 @@ class AbcModelLoader(pype.maya.plugin.ReferenceLoader):
|
|||
reference=True,
|
||||
returnNewNodes=True)
|
||||
|
||||
namespace = cmds.referenceQuery(nodes[0], namespace=True)
|
||||
groupName = "{}:{}".format(namespace, name)
|
||||
|
||||
cmds.makeIdentity(groupName, apply=False, rotate=True,
|
||||
translate=True, scale=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue