diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-12-07 22:56:50 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-12-07 23:21:35 +0300 |
commit | 9bc98387d9edf988695e294bedaa152043a35de7 (patch) | |
tree | b03c0d581e4a18c395181c41f26993f2c44fcf05 /rigify/ui.py | |
parent | f8d6489fb6e4b8f3c1029d3468ebbe6781f599dd (diff) |
Rigify: include widgets in generated metarig code.
Since rigs like super_copy already support using widgets assigned
directly to metarig bones, implement adding them with the metarig.
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index 49c11aaf..7b6539cd 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -858,7 +858,7 @@ class EncodeMetarig(bpy.types.Operator): else: text_block = bpy.data.texts.new(name) - text = write_metarig(context.active_object, layers=True, func_name="create", groups=True) + text = write_metarig(context.active_object, layers=True, func_name="create", groups=True, widgets=True) text_block.write(text) bpy.ops.object.mode_set(mode='EDIT') |