[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26466] trunk/blender/source/blender/ editors/space_view3d/view3d_draw.c: Fix #20896: FSAA wasn' t disabled properly and still enabled for 3d view

Brecht Van Lommel brecht at blender.org
Sun Jan 31 10:49:46 CET 2010


Revision: 26466
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26466
Author:   blendix
Date:     2010-01-31 10:49:46 +0100 (Sun, 31 Jan 2010)

Log Message:
-----------
Fix #20896: FSAA wasn't disabled properly and still enabled for 3d view
drawing, which apparently still slows things down even if you don't have
the window set up to do this.

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

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_draw.c	2010-01-31 09:42:50 UTC (rev 26465)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_draw.c	2010-01-31 09:49:46 UTC (rev 26466)
@@ -2048,8 +2048,8 @@
 		v3d->zbuf= FALSE;
 
 	/* enables anti-aliasing for 3D view drawing */
-	if (!(U.gameflags & USER_DISABLE_AA))
-		glEnable(GL_MULTISAMPLE_ARB);
+	/*if (!(U.gameflags & USER_DISABLE_AA))
+		glEnable(GL_MULTISAMPLE_ARB);*/
 	
 	// needs to be done always, gridview is adjusted in drawgrid() now
 	rv3d->gridview= v3d->grid;
@@ -2158,8 +2158,8 @@
 	BIF_draw_manipulator(C);
 	
 	/* Disable back anti-aliasing */
-	if (!(U.gameflags & USER_DISABLE_AA))
-		glDisable(GL_MULTISAMPLE_ARB);
+	/*if (!(U.gameflags & USER_DISABLE_AA))
+		glDisable(GL_MULTISAMPLE_ARB);*/
 
 	if(v3d->zbuf) {
 		v3d->zbuf= FALSE;





More information about the Bf-blender-cvs mailing list