[Bf-blender-cvs] [7fed420877b] blender-v2.91-release: Fix T82423: Replace duplicate name in keymap

Robert Guetzkow noreply at git.blender.org
Thu Nov 5 21:31:29 CET 2020


Commit: 7fed420877bd22a0f0745353ba6a992d6c05a6f4
Author: Robert Guetzkow
Date:   Thu Nov 5 21:26:54 2020 +0100
Branches: blender-v2.91-release
https://developer.blender.org/rB7fed420877bd22a0f0745353ba6a992d6c05a6f4

Fix T82423: Replace duplicate name in keymap

The two entries `TFM_MODAL_AUTOCONSTRAINT` and
`TFM_MODAL_AUTOCONSTRAINTPLANE` had the same name
displayed in the UI. The latter is now includes
"plane" in it's name.

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D9474

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

M	source/blender/editors/transform/transform.c

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

diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 4e08b6b1c5d..5aed4b9c6ef 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -684,7 +684,7 @@ wmKeyMap *transform_modal_keymap(wmKeyConfig *keyconf)
       {TFM_MODAL_ROTATE, "ROTATE", 0, "Rotate", ""},
       {TFM_MODAL_RESIZE, "RESIZE", 0, "Resize", ""},
       {TFM_MODAL_AUTOCONSTRAINT, "AUTOCONSTRAIN", 0, "Automatic Constraint", ""},
-      {TFM_MODAL_AUTOCONSTRAINTPLANE, "AUTOCONSTRAINPLANE", 0, "Automatic Constraint", ""},
+      {TFM_MODAL_AUTOCONSTRAINTPLANE, "AUTOCONSTRAINPLANE", 0, "Automatic Constraint Plane", ""},
       {0, NULL, 0, NULL, NULL},
   };



More information about the Bf-blender-cvs mailing list