[Bf-extensions-cvs] [e6ecb6a1] master: T53024 fix n-panel Switch rotation-pole not working for bones wo keys

Lucio Rossi noreply at git.blender.org
Wed Oct 25 19:37:16 CEST 2017


Commit: e6ecb6a1948a065030566ad8fdda830359bdc93d
Author: Lucio Rossi
Date:   Wed Oct 25 19:36:08 2017 +0200
Branches: master
https://developer.blender.org/rBAe6ecb6a1948a065030566ad8fdda830359bdc93d

T53024 fix n-panel Switch rotation-pole not working for bones wo keys

===================================================================

M	rigify/ui.py

===================================================================

diff --git a/rigify/ui.py b/rigify/ui.py
index 458dceed..7d5490e0 100644
--- a/rigify/ui.py
+++ b/rigify/ui.py
@@ -1189,7 +1189,7 @@ def rotPoleToggle(rig, window='ALL', value=False, toggle=False, bake=False):
                     args = (controls[0], controls[6], controls[5], pole, parent)
 
                 for f in frames:
-                    if not bones_in_frame(f, rig, *args):
+                    if bake and not bones_in_frame(f, rig, *args):
                         continue
                     scn.frame_set(f)
                     func1(**kwargs1)



More information about the Bf-extensions-cvs mailing list