[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16241] trunk/blender/source/blender/src/ editnode.c: [#17433] Cannot break node links with LMB drag under linux.

Martin Poirier theeth at yahoo.com
Sun Aug 24 17:22:44 CEST 2008


Revision: 16241
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16241
Author:   theeth
Date:     2008-08-24 17:22:44 +0200 (Sun, 24 Aug 2008)

Log Message:
-----------
[#17433] Cannot break node links with LMB drag under linux.

Grease pencil commit added some panel draw code or whatnot which seems to change the matrix stack in unwanted (in this case) ways. Reset to identity fixes it.

* I don't think it was limited to Linux though

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

Modified: trunk/blender/source/blender/src/editnode.c
===================================================================
--- trunk/blender/source/blender/src/editnode.c	2008-08-24 13:30:35 UTC (rev 16240)
+++ trunk/blender/source/blender/src/editnode.c	2008-08-24 15:22:44 UTC (rev 16241)
@@ -2110,6 +2110,7 @@
 			mval[1]= rect.ymax;
 			areamouseco_to_ipoco(&snode->v2d, mval, &rectf.xmax, &rectf.ymax);
 			
+			glLoadIdentity();
 			myortho2(rectf.xmin, rectf.xmax, rectf.ymin, rectf.ymax);
 			
 			glSelectBuffer(256, buffer); 





More information about the Bf-blender-cvs mailing list