[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18106] branches/nurbs/blender/source/ blender/src/drawobject.c: Reverting the experimental UI changes.

Emmanuel Stone emmanuel.stone at gmail.com
Sun Dec 28 02:03:34 CET 2008


Revision: 18106
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18106
Author:   eman
Date:     2008-12-28 02:03:34 +0100 (Sun, 28 Dec 2008)

Log Message:
-----------
Reverting the experimental UI changes.
There was a bug with scaling and I'm not convinced they were needed.

Modified Paths:
--------------
    branches/nurbs/blender/source/blender/src/drawobject.c

Modified: branches/nurbs/blender/source/blender/src/drawobject.c
===================================================================
--- branches/nurbs/blender/source/blender/src/drawobject.c	2008-12-28 00:42:01 UTC (rev 18105)
+++ branches/nurbs/blender/source/blender/src/drawobject.c	2008-12-28 01:03:34 UTC (rev 18106)
@@ -3890,7 +3890,7 @@
 					glColor4ub(0xFF, 0xFF, 0xFF, 34);
 
 				// Old style CP vertex draw
-				if(0)
+				if(1)
 				{
 					glPushMatrix();
 					bglBegin(GL_POINTS);
@@ -3974,8 +3974,8 @@
 				}
 				break;
 			case CU_NURBS:
-				glLineStipple(3, 0xAAAA);
-				glEnable(GL_LINE_STIPPLE);
+				//glLineStipple(3, 0xAAAA);
+				//glEnable(GL_LINE_STIPPLE);
 				bp= nu->bp;
 				for(b=0; b<nu->pntsv; b++) {
 					int numSegments = 0;
@@ -4063,7 +4063,7 @@
 					}
 
 				}
-				glDisable(GL_LINE_STIPPLE);
+				//glDisable(GL_LINE_STIPPLE);
 				break;
 			}
 		}





More information about the Bf-blender-cvs mailing list