Revision: 44644 http://brlcad.svn.sourceforge.net/brlcad/?rev=44644&view=rev Author: bob1961 Date: 2011-05-20 13:13:06 +0000 (Fri, 20 May 2011)
Log Message: ----------- Minor mod. Modified Paths: -------------- brlcad/trunk/src/libdm/dm-ogl.c Modified: brlcad/trunk/src/libdm/dm-ogl.c =================================================================== --- brlcad/trunk/src/libdm/dm-ogl.c 2011-05-20 12:03:59 UTC (rev 44643) +++ brlcad/trunk/src/libdm/dm-ogl.c 2011-05-20 13:13:06 UTC (rev 44644) @@ -1464,19 +1464,18 @@ bu_log(" %d (%g %g %g)\n", *cmd, V3ARGS(pt)); switch (*cmd) { case BN_VLIST_LINE_MOVE: + case BN_VLIST_LINE_DRAW: break; case BN_VLIST_POLY_START: - /* Start poly marker & normal */ if (first == 0) glEnd(); + first = 0; glBegin(GL_POLYGON); /* Set surface normal (vl_pnt points outward) */ glNormal3dv(*pt); break; - case BN_VLIST_LINE_DRAW: - break; case BN_VLIST_POLY_MOVE: case BN_VLIST_POLY_DRAW: glVertex3dv(*pt); @@ -1528,6 +1527,7 @@ /* Start poly marker & normal */ if (first == 0) glEnd(); + first = 0; glBegin(GL_LINE_STRIP); break; @@ -1618,6 +1618,7 @@ /* Start poly marker & normal */ if (first == 0) glEnd(); + first = 0; if (dmp->dm_light && mflag) { mflag = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits