[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50018] branches/soc-2012-swiss_cheese/ source/blender/editors/mesh/editmesh_loopcut.c: Added missing gpuImmediateFormat/ gpuImmediateUnformat for loopcut visualization.
Jason Wilkins
Jason.A.Wilkins at gmail.com
Sun Aug 19 16:31:15 CEST 2012
Revision: 50018
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50018
Author: jwilkins
Date: 2012-08-19 14:31:14 +0000 (Sun, 19 Aug 2012)
Log Message:
-----------
Added missing gpuImmediateFormat/gpuImmediateUnformat for loopcut visualization.
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/source/blender/editors/mesh/editmesh_loopcut.c
Modified: branches/soc-2012-swiss_cheese/source/blender/editors/mesh/editmesh_loopcut.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/editors/mesh/editmesh_loopcut.c 2012-08-19 14:07:51 UTC (rev 50017)
+++ branches/soc-2012-swiss_cheese/source/blender/editors/mesh/editmesh_loopcut.c 2012-08-19 14:31:14 UTC (rev 50018)
@@ -120,6 +120,7 @@
gpuPushMatrix();
gpuMultMatrix(lcd->ob->obmat);
+ gpuImmediateFormat_V3();
gpuCurrentColor3x(CPACK_MAGENTA);
gpuBegin(GL_LINES);
for (i = 0; i < lcd->totedge; i++) {
@@ -127,6 +128,7 @@
gpuVertex3fv(lcd->edges[i][1]);
}
gpuEnd();
+ gpuImmediateUnformat();
gpuPopMatrix();
if (v3d && v3d->zbuf)
More information about the Bf-blender-cvs
mailing list