[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30868] trunk/blender/source/blender/ editors/space_view3d/view3d_edit.c: Added back modal keymap items for view manipulation mode switching in

Matt Ebb matt at mke3.net
Thu Jul 29 09:21:57 CEST 2010


Revision: 30868
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30868
Author:   broken
Date:     2010-07-29 09:21:57 +0200 (Thu, 29 Jul 2010)

Log Message:
-----------
Added back modal keymap items for view manipulation mode switching in 
zoom/pan, so they can be added in customisation. Not sure why these were removed.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/view3d_edit.c

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2010-07-29 06:37:37 UTC (rev 30867)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2010-07-29 07:21:57 UTC (rev 30868)
@@ -826,6 +826,9 @@
 {
 	static EnumPropertyItem modal_items[] = {
 	{VIEW_MODAL_CONFIRM,	"CONFIRM", 0, "Confirm", ""},
+		
+	{VIEWROT_MODAL_SWITCH_ZOOM, "SWITCH_TO_ZOOM", 0, "Switch to Zoom"},
+	{VIEWROT_MODAL_SWITCH_ROTATE, "SWITCH_TO_ROTATE", 0, "Switch to Rotate"},
 
 	{0, NULL, 0, NULL, NULL}};
 
@@ -968,6 +971,9 @@
 {
 	static EnumPropertyItem modal_items[] = {
 	{VIEW_MODAL_CONFIRM,	"CONFIRM", 0, "Confirm", ""},
+		
+	{VIEWROT_MODAL_SWITCH_ROTATE, "SWITCH_TO_ROTATE", 0, "Switch to Rotate"},
+	{VIEWROT_MODAL_SWITCH_MOVE, "SWITCH_TO_MOVE", 0, "Switch to Move"},
 
 	{0, NULL, 0, NULL, NULL}};
 





More information about the Bf-blender-cvs mailing list