Skip to content

Commit 751ddb9

Browse files
committed
Fix keyError on first time tool use
1 parent 442ad35 commit 751ddb9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dsRenamingTool/renameFn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def genName(cls, obj, name, suffix=None, indexing=True, padding=2, start=0):
5757
@classmethod
5858
def getSuffix(cls, obj, aliasesDict):
5959
objType = pm.objectType(obj)
60-
aliasesDict = json.loads(pm.optionVar["dsRenamingToolSuffixAliases"])
6160
if objType == "transform":
6261
dependNodes = pm.listRelatives(obj, c=1)
6362
if dependNodes:

0 commit comments

Comments
 (0)