diff options
| -rw-r--r-- | Core/Scripts/Interfaces/ART_AnimationUI.py | 2 | ||||
| -rw-r--r-- | Core/Scripts/RigModules/ART_Arm_Standard.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Core/Scripts/Interfaces/ART_AnimationUI.py b/Core/Scripts/Interfaces/ART_AnimationUI.py index da4184b..fcc8d86 100644 --- a/Core/Scripts/Interfaces/ART_AnimationUI.py +++ b/Core/Scripts/Interfaces/ART_AnimationUI.py @@ -410,7 +410,7 @@ class ART_AnimationUI(QtWidgets.QMainWindow): # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - def setButtonIcon(self, movie): + def setButtonIcon(self, movie, *args): """ Sets the icon of the matchRangeBtn to the next frame in the passed in movie. Note: This was a test function to see if animated gifs could be used as buttons. diff --git a/Core/Scripts/RigModules/ART_Arm_Standard.py b/Core/Scripts/RigModules/ART_Arm_Standard.py index a0e82ec..abcd96d 100644 --- a/Core/Scripts/RigModules/ART_Arm_Standard.py +++ b/Core/Scripts/RigModules/ART_Arm_Standard.py @@ -571,7 +571,10 @@ class ART_Arm_Standard(ART_RigModule): # if there are fingers, create a finger picker fingerControls = json.loads(cmds.getAttr(networkNode + ".fkFingerControls")) - ikFingerControls = json.loads(cmds.getAttr(networkNode + ".ikFingerControls")) + ikFingerControls = [] + if cmds.objExists(networkNode + ".ikFingerControls"): + ikFingerControls = json.loads(cmds.getAttr(networkNode + ".ikFingerControls")) + if len(fingerControls) > 0: |