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

This commit is contained in:
Campbell Barton 2020-07-01 20:11:52 +10:00
parent ab0d02b704
commit 86e41ca775
2 changed files with 5 additions and 6 deletions

View File

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

View File

@ -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);