Skip to content
Snippets Groups Projects
Commit e6ecb6a1 authored by Lucio Rossi's avatar Lucio Rossi
Browse files

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

parent 592493c6
No related branches found
No related tags found
No related merge requests found
...@@ -1189,7 +1189,7 @@ def rotPoleToggle(rig, window='ALL', value=False, toggle=False, bake=False): ...@@ -1189,7 +1189,7 @@ def rotPoleToggle(rig, window='ALL', value=False, toggle=False, bake=False):
args = (controls[0], controls[6], controls[5], pole, parent) args = (controls[0], controls[6], controls[5], pole, parent)
for f in frames: for f in frames:
if not bones_in_frame(f, rig, *args): if bake and not bones_in_frame(f, rig, *args):
continue continue
scn.frame_set(f) scn.frame_set(f)
func1(**kwargs1) func1(**kwargs1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment