[Bf-extensions-cvs] [40828240] master: Rigify: clarify the New vs Overwrite choice in the new UI.

Alexander Gavrilov noreply at git.blender.org
Tue Jul 12 18:15:06 CEST 2022


Commit: 4082824096f47fc358c6bd9a7e184d1ac6f38373
Author: Alexander Gavrilov
Date:   Tue Jul 12 19:15:22 2022 +0300
Branches: master
https://developer.blender.org/rBA4082824096f47fc358c6bd9a7e184d1ac6f38373

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.

===================================================================

M	rigify/__init__.py
M	rigify/ui.py

===================================================================

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")



More information about the Bf-extensions-cvs mailing list