mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Oscar's and BigRoy's comment respectively on namespace function
This commit is contained in:
parent
1a61eb0c3e
commit
0c8ad276e4
1 changed files with 1 additions and 2 deletions
|
|
@ -316,7 +316,6 @@ def set_timeline(frameStart, frameEnd):
|
|||
|
||||
def unique_namespace(namespace, format="%02d",
|
||||
prefix="", suffix="", con_suffix="CON"):
|
||||
from pymxs import runtime as rt
|
||||
"""Return unique namespace
|
||||
|
||||
Arguments:
|
||||
|
|
@ -336,7 +335,7 @@ def unique_namespace(namespace, format="%02d",
|
|||
|
||||
def current_namespace():
|
||||
current = namespace
|
||||
# When inside a namespace Maya adds no trailing :
|
||||
# When inside a namespace Max adds no trailing :
|
||||
if not current.endswith(":"):
|
||||
current += ":"
|
||||
return current
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue