diff options
-rw-r--r-- | rigify/generate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rigify/generate.py b/rigify/generate.py index 2f2e3655..8fe734c5 100644 --- a/rigify/generate.py +++ b/rigify/generate.py @@ -126,6 +126,7 @@ def generate_rig(context, metarig): # Get rid of anim data in case the rig already existed print("Clear rig animation data.") obj.animation_data_clear() + obj.data.animation_data_clear() # Select generated rig object metarig.select_set(False) |