[Bf-extensions-cvs] [1f7b25e4] blender-v2.79a-release: T53024 fix n-panel Switch rotation-pole not working for bones wo keys

Lucio Rossi noreply at git.blender.org
Mon Jan 1 16:36:27 CET 2018


Commit: 1f7b25e4728fa108c6e2e40fb6f091d22359d929
Author: Lucio Rossi
Date:   Wed Oct 25 19:36:08 2017 +0200
Branches: blender-v2.79a-release
https://developer.blender.org/rBA1f7b25e4728fa108c6e2e40fb6f091d22359d929

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 77e06f01..dc9c4553 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