[Bf-blender-cvs] [d6b64849310] fracture_modifier: constraint UI label / tooltip clarifications

Martin Felke noreply at git.blender.org
Wed Sep 5 14:34:52 CEST 2018


Commit: d6b64849310852e91957a89c29b282afcb511d88
Author: Martin Felke
Date:   Wed Sep 5 14:34:23 2018 +0200
Branches: fracture_modifier
https://developer.blender.org/rBd6b64849310852e91957a89c29b282afcb511d88

constraint UI label / tooltip clarifications

now having Search Method, Search Limit as labels, tooltips explain that this is related to shards as well

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

M	release/scripts/startup/bl_ui/properties_physics_fracture.py
M	source/blender/makesrna/intern/rna_fracture.c

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_fracture.py b/release/scripts/startup/bl_ui/properties_physics_fracture.py
index 933ae296e4b..ebae07bb0ad 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fracture.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fracture.py
@@ -220,10 +220,10 @@ class PHYSICS_PT_fracture_simulation(PhysicButtonsPanel, Panel):
         row.prop(md, "activate_broken")
 
         col = layout.column(align=True)
-        col.prop(md, "constraint_target")
         col.prop(md, "constraint_type")
+        col.prop(md, "constraint_target")
         col = layout.column(align=True)
-        col.prop(md, "constraint_limit", text="Constraint limit, per MeshIsland")
+        col.prop(md, "constraint_limit")
         col.prop(md, "contact_dist")
 
         layout.label("Constraint Cluster Settings")
diff --git a/source/blender/makesrna/intern/rna_fracture.c b/source/blender/makesrna/intern/rna_fracture.c
index a4f1ff67e5a..17fdb7e1040 100644
--- a/source/blender/makesrna/intern/rna_fracture.c
+++ b/source/blender/makesrna/intern/rna_fracture.c
@@ -839,7 +839,7 @@ void RNA_def_fracture(BlenderRNA *brna)
 	RNA_def_property_range(prop, 0.0f, FLT_MAX);
 	RNA_def_property_float_default(prop, 1.0f);
 	RNA_def_property_float_funcs(prop, NULL, "rna_FractureModifier_contact_dist_set", NULL);
-	RNA_def_property_ui_text(prop, "Search Radius", "Limit search radius up to which two mesh islands are being connected, 0 for entire boundingbox");
+	RNA_def_property_ui_text(prop, "Search Radius", "Limit search radius up to which two shards are being connected, 0 for entire boundingbox");
 	RNA_def_property_ui_range(prop, 0.0f, FLT_MAX, 0.1f, 2);
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
@@ -854,7 +854,7 @@ void RNA_def_fracture(BlenderRNA *brna)
 	RNA_def_property_int_sdna(prop, NULL, "constraint_limit");
 	RNA_def_property_range(prop, 0, INT_MAX);
 	RNA_def_property_int_funcs(prop, NULL, "rna_FractureModifier_constraint_limit_set", NULL);
-	RNA_def_property_ui_text(prop, "Constraint Search Limit", "Maximum number of neighbors being searched per mesh island during constraint creation, 0 for unlimited");
+	RNA_def_property_ui_text(prop, "Search Limit", "Maximum number of surrounding shards being taken into account per shard during constraint creation, 0 for unlimited");
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
@@ -1235,7 +1235,7 @@ void RNA_def_fracture(BlenderRNA *brna)
 	RNA_def_property_enum_items(prop, prop_constraint_targets);
 	RNA_def_property_enum_funcs(prop, NULL, "rna_FractureModifier_constraint_target_set", NULL);
 	RNA_def_property_enum_default(prop, MOD_FRACTURE_CENTROID);
-	RNA_def_property_ui_text(prop, "Constraint Method", "Method to build constraints");
+	RNA_def_property_ui_text(prop, "Search Method", "Method to search constraints among surrounding shards");
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");



More information about the Bf-blender-cvs mailing list