Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2531 from BigRoy/fix_maya_api_lib_namespaced
Browse files Browse the repository at this point in the history
Maya: namespaced context go back to original namespace when started from inside a namespace
  • Loading branch information
antirotor authored Jan 21, 2022
2 parents 16c403c + f323ae6 commit 9a8d8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpype/hosts/maya/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def namespaced(namespace, new=True):
str: The namespace that is used during the context
"""
original = cmds.namespaceInfo(cur=True)
original = cmds.namespaceInfo(cur=True, absoluteName=True)
if new:
namespace = avalon.maya.lib.unique_namespace(namespace)
cmds.namespace(add=namespace)
Expand Down

0 comments on commit 9a8d8db

Please sign in to comment.