Skip to content

Commit

Permalink
Fix keyError on first time tool use
Browse files Browse the repository at this point in the history
  • Loading branch information
sowwic committed Jul 14, 2020
1 parent 442ad35 commit 751ddb9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dsRenamingTool/renameFn.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def genName(cls, obj, name, suffix=None, indexing=True, padding=2, start=0):
@classmethod
def getSuffix(cls, obj, aliasesDict):
objType = pm.objectType(obj)
aliasesDict = json.loads(pm.optionVar["dsRenamingToolSuffixAliases"])
if objType == "transform":
dependNodes = pm.listRelatives(obj, c=1)
if dependNodes:
Expand Down

0 comments on commit 751ddb9

Please sign in to comment.