From 4082824096f47fc358c6bd9a7e184d1ac6f38373 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov <angavrilov@gmail.com> Date: Tue, 12 Jul 2022 19:15:22 +0300 Subject: [PATCH] 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. --- rigify/__init__.py | 4 ++-- rigify/ui.py | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/rigify/__init__.py b/rigify/__init__.py index 8a45ae05c..386c8055d 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 3a7af5466..8b719a3f1 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") -- GitLab