Skip to content

Commit

Permalink
comment out namespace not used definition on node.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Nov 6, 2024
1 parent 279ee7b commit 1c730da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release/scripts/mgear/pymaya/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,11 @@ def shortName(self):
fdg = super(_Node, self).__getattribute__("_Node__fn_dg")
return fdg.name().split("|")[-1]

def namespace(self, **kwargs):
n = self.name()
if ":" not in n:
return ""
return ":".join(n.split("|")[-1].split(":")[:-1]) + ":"
# def namespace(self, **kwargs):
# n = self.name()
# if ":" not in n:
# return ""
# return ":".join(n.split("|")[-1].split(":")[:-1]) + ":"

def stripNamespace(self):
return "|".join([x.split(":")[-1] for x in self.name().split("|")])
Expand Down

0 comments on commit 1c730da

Please sign in to comment.