mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Fixed referrence namespace bug with vrproxy loader
This commit is contained in:
parent
3b8a9f607f
commit
30f18f139a
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ class VRayProxyLoader(colorbleed.maya.plugin.ReferenceLoader):
|
|||
nodes = self.create_vray_proxy(name)
|
||||
|
||||
self[:] = nodes
|
||||
# Make sure to restore the default namespace, or anything imported or
|
||||
# refereced after this gets added to this namespace
|
||||
cmds.namespace(set=":")
|
||||
|
||||
return nodes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue