From e6ecb6a1948a065030566ad8fdda830359bdc93d Mon Sep 17 00:00:00 2001
From: Lucio Rossi <lucio.rossi75@gmail.com>
Date: Wed, 25 Oct 2017 19:36:08 +0200
Subject: [PATCH] T53024 fix n-panel Switch rotation-pole not working for bones
 wo keys

---
 rigify/ui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rigify/ui.py b/rigify/ui.py
index 458dceed3..7d5490e04 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)
-- 
GitLab