improve hover tip for 'Lock Object Modes' property
This commit is contained in:
parent
6f56bd4083
commit
47de3659f0
|
@ -3092,7 +3092,10 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "lock_object_mode", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "object_flag", SCE_OBJECT_MODE_LOCK);
|
||||
RNA_def_property_ui_text(prop, "Lock Object Modes", "Restrict select to the current mode");
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Lock Object Modes",
|
||||
"Restrict selection to objects using the same mode as the active "
|
||||
"object,\nto prevent accidental mode switch when selecting");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
|
||||
|
||||
static const EnumPropertyItem workspace_tool_items[] = {
|
||||
|
|
Loading…
Reference in New Issue