diff options
| author | MobileMachine\jeremy <[email protected]> | 2017-06-09 12:04:06 -0400 |
|---|---|---|
| committer | MobileMachine\jeremy <[email protected]> | 2017-06-09 12:04:06 -0400 |
| commit | 1c2b0e041bb8a55cd1d01d532e4b678242d48929 (patch) | |
| tree | 3c97ba3b4400c8d9df672f0eb14609dea93dd543 | |
| parent | Updated with intro videos (diff) | |
| download | artv2-1c2b0e041bb8a55cd1d01d532e4b678242d48929.tar.xz artv2-1c2b0e041bb8a55cd1d01d532e4b678242d48929.zip | |
Quick fix to arm picker
| -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: |