diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2022-07-12 19:15:22 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2022-07-12 19:15:22 +0300 |
commit | 4082824096f47fc358c6bd9a7e184d1ac6f38373 (patch) | |
tree | 0e95332a0b8f5a1fae081f3ef567870d256604de | |
parent | 144dbedd9f72b80793541703f3041daae81e3c4f (diff) |
Rigify: clarify the New vs Overwrite choice in the new UI.
Group the three reference fields that have to be cleared to
generate a completely new rig in a box. Also clarify the name
and tooltip for Force Widget Update.
-rw-r--r-- | rigify/__init__.py | 4 | ||||
-rw-r--r-- | rigify/ui.py | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index 8a45ae05..386c8055 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -539,8 +539,8 @@ def register(): IDStore.rigify_types = CollectionProperty(type=RigifyName) IDStore.rigify_active_type = IntProperty(name="Rigify Active Type", description="The selected rig type") - bpy.types.Armature.rigify_force_widget_update = BoolProperty(name="Force Widget Update", - description="Forces Rigify to delete and rebuild all the rig widgets. if unset, only missing widgets will be created", + bpy.types.Armature.rigify_force_widget_update = BoolProperty(name="Overwrite Widget Meshes", + description="Forces Rigify to delete and rebuild all of the rig widget objects. By default, already existing widgets are reused as-is to facilitate manual editing", default=False) bpy.types.Armature.rigify_mirror_widgets = BoolProperty(name="Mirror Widgets", diff --git a/rigify/ui.py b/rigify/ui.py index 3a7af546..8b719a3f 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -143,9 +143,13 @@ class DATA_PT_rigify_advanced(bpy.types.Panel): row.prop(armature_id_store, "rigify_rig_basename", text="Rig Name") col.separator() - col.row().prop(armature_id_store, "rigify_target_rig", text="Target Rig") - col.row().prop(armature_id_store, "rigify_rig_ui", text="Rig UI Script") - col.row().prop(armature_id_store, "rigify_widgets_collection") + + col2 = col.box().column() + col2.label(text="Overwrite Existing:") + col2.row().prop(armature_id_store, "rigify_target_rig", text="Target Rig") + col2.row().prop(armature_id_store, "rigify_rig_ui", text="Rig UI Script") + col2.row().prop(armature_id_store, "rigify_widgets_collection") + col.separator() col.row().prop(armature_id_store, "rigify_force_widget_update") col.row().prop(armature_id_store, "rigify_mirror_widgets") |