[Bf-blender-cvs] [47de3659f03] master: improve hover tip for 'Lock Object Modes' property

Gaia Clary noreply at git.blender.org
Tue Apr 19 15:58:42 CEST 2022


Commit: 47de3659f034d203ed208784e48e91f4cbe80373
Author: Gaia Clary
Date:   Tue Apr 19 13:33:18 2022 +0200
Branches: master
https://developer.blender.org/rB47de3659f034d203ed208784e48e91f4cbe80373

improve hover tip for 'Lock Object Modes' property

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

M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 7f0a9627a17..afce68057b2 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -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[] = {



More information about the Bf-blender-cvs mailing list