diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-01 13:11:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-01 13:17:19 +0300 |
commit | 86e41ca775829b0c3fc89f7304ef3de8707fd9c5 (patch) | |
tree | b0cf616097e866a3d012332707d3daf2f89b0f96 | |
parent | ab0d02b704d01fdcfedf33bc1a8a2ee434a3fb65 (diff) |
UI: remove internal names (custom-data & loops) from tool-tip
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 9 |
2 files changed, 5 insertions, 6 deletions
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); |