[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14994] trunk/blender/source/blender/src/ toets.c: bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction .

Campbell Barton ideasman42 at gmail.com
Tue May 27 10:51:48 CEST 2008


Revision: 14994
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14994
Author:   campbellbarton
Date:     2008-05-27 10:51:47 +0200 (Tue, 27 May 2008)

Log Message:
-----------
bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction.

Modified Paths:
--------------
    trunk/blender/source/blender/src/toets.c

Modified: trunk/blender/source/blender/src/toets.c
===================================================================
--- trunk/blender/source/blender/src/toets.c	2008-05-27 03:55:06 UTC (rev 14993)
+++ trunk/blender/source/blender/src/toets.c	2008-05-27 08:51:47 UTC (rev 14994)
@@ -228,8 +228,8 @@
 	}
 	else {
 		/* Indicate that this view is not inverted.
-		 * Don't do this for PADMINUS/PADPLUSKEY, though. (jobbe)*/
-		if (event != PADMINUS && event != PADPLUSKEY)
+		 * Don't do this for PADMINUS/PADPLUSKEY/PAD5, though. (jobbe)*/
+		if (! ELEM3(event, PADMINUS, PADPLUSKEY, PAD5) )
 			G.vd->flag2 &= ~V3D_OPP_DIRECTION_NAME;
 		
 





More information about the Bf-blender-cvs mailing list