[Bf-blender-cvs] [86e41ca7758] master: UI: remove internal names (custom-data & loops) from tool-tip

Campbell Barton noreply at git.blender.org
Wed Jul 1 12:18:32 CEST 2020


Commit: 86e41ca775829b0c3fc89f7304ef3de8707fd9c5
Author: Campbell Barton
Date:   Wed Jul 1 20:11:52 2020 +1000
Branches: master
https://developer.blender.org/rB86e41ca775829b0c3fc89f7304ef3de8707fd9c5

UI: remove internal names (custom-data & loops) from tool-tip

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

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py
M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index a52cc8bf791..549b89938e0 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -206,7 +206,7 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
         split = layout.split()
 
         row = layout.row(align=True, heading="Transform")
-        row.prop(tool_settings, "use_correct_custom_data")
+        row.prop(tool_settings, "use_transform_correct_face_attributes")
 
         row = layout.row(heading="Mirror")
         sub = row.row(align=True)
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index cb6bb767f86..d141e6f3b19 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -3090,12 +3090,11 @@ static void rna_def_tool_settings(BlenderRNA *brna)
       prop, "Transform Parents", "Transform the parents, leaving the children in place");
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
 
-  prop = RNA_def_property(srna, "use_correct_custom_data", PROP_BOOLEAN, PROP_NONE);
+  prop = RNA_def_property(srna, "use_transform_correct_face_attributes", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "uvcalc_flag", UVCALC_TRANSFORM_CORRECT);
-  RNA_def_property_ui_text(
-      prop,
-      "Correct Face Attributes",
-      "Correct data such as UV coordinates and loop colors when transforming");
+  RNA_def_property_ui_text(prop,
+                           "Correct Face Attributes",
+                           "Correct data such as UV's and vertex colors when transforming");
   RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
 
   prop = RNA_def_property(srna, "use_mesh_automerge", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list