[Bf-blender-cvs] [e51943bd732] master: UI: clarify tip for viewport mouse position property

Campbell Barton noreply at git.blender.org
Thu Jul 25 05:48:05 CEST 2019


Commit: e51943bd7326a14c684a100690a6652dd9e1b931
Author: Campbell Barton
Date:   Thu Jul 25 13:41:38 2019 +1000
Branches: master
https://developer.blender.org/rBe51943bd7326a14c684a100690a6652dd9e1b931

UI: clarify tip for viewport mouse position property

This is an hidden property only visible in the keymap editor.

Addresses T67589

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

M	source/blender/windowmanager/intern/wm_operator_props.c

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

diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index c471cb6f922..f22b5d07686 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -340,8 +340,11 @@ void WM_operator_properties_gesture_box_ex(wmOperatorType *ot, bool deselect, bo
  */
 void WM_operator_properties_use_cursor_init(wmOperatorType *ot)
 {
-  PropertyRNA *prop = RNA_def_boolean(
-      ot->srna, "use_cursor_init", true, "Cursor Init", "Use initial cursor position");
+  PropertyRNA *prop = RNA_def_boolean(ot->srna,
+                                      "use_cursor_init",
+                                      true,
+                                      "Use Mouse Position",
+                                      "Allow the initial mouse position to be used");
   RNA_def_property_flag(prop, PROP_SKIP_SAVE | PROP_HIDDEN);
 }



More information about the Bf-blender-cvs mailing list