Revision: 16600
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16600
Author:   unclezeiv
Date:     2008-09-18 22:37:11 +0200 (Thu, 18 Sep 2008)

Log Message:
-----------
[#7297] Fix knife visualization on MacMini Intel w/ Intel gfx

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

Modified: trunk/blender/source/blender/src/editmesh_loop.c
===================================================================
--- trunk/blender/source/blender/src/editmesh_loop.c    2008-09-18 19:28:28 UTC 
(rev 16599)
+++ trunk/blender/source/blender/src/editmesh_loop.c    2008-09-18 20:37:11 UTC 
(rev 16600)
@@ -519,6 +519,7 @@
                glDrawBuffer(GL_FRONT);
                headerprint("(LMB) draw, (MMB) constrain to x/y screen axis, 
(Enter) cut (with Ctrl to select cut line), (Esc) cancel");
        }
+       bglFlush();
        
        persp(PERSP_WIN);
        
@@ -620,14 +621,14 @@
                
                if ((i>1)&&(i!=lasti)) {  /*Draw recorded part of curve */
                        sdrawline((int)curve[i-2].x, (int)curve[i-2].y, 
(int)curve[i-1].x, (int)curve[i-1].y);
-                       glFlush();
+                       bglFlush();
                }
                
                if ((i==lasti)&&(i>0)) { /*Draw rubberband */
                        glLineWidth(2.0);
                        sdrawXORline((int)curve[i-1].x, 
(int)curve[i-1].y,(int)mval[0], (int)mval[1]);
                        glLineWidth(1.0);
-                       glFlush();
+                       bglFlush();
                        rubberband=1;
                }
                lasti=i;


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to