[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60204] trunk/blender/source/blender/ editors/mesh/editmesh_knife.c: add support for trackpad navigation while in knife operator

Dalai Felinto dfelinto at gmail.com
Tue Sep 17 17:20:44 CEST 2013


Revision: 60204
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60204
Author:   dfelinto
Date:     2013-09-17 15:20:44 +0000 (Tue, 17 Sep 2013)
Log Message:
-----------
add support for trackpad navigation while in knife operator

I caught this while looking at:
[#34663] Cannot rotate view while using Knife tool with Maya preset

(though it's not the original report).
I'll look at the other operators, there are probably a few in the same
situation as knife.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_knife.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_knife.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2013-09-17 15:03:01 UTC (rev 60203)
+++ trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2013-09-17 15:20:44 UTC (rev 60204)
@@ -3281,6 +3281,9 @@
 	}
 	else { /* non-modal-mapped events */
 		switch (event->type) {
+			case MOUSEPAN:
+			case MOUSEZOOM:
+			case MOUSEROTATE:
 			case WHEELUPMOUSE:
 			case WHEELDOWNMOUSE:
 				return OPERATOR_PASS_THROUGH;




More information about the Bf-blender-cvs mailing list