corrected managment of per-mesh color for point clouds

This commit is contained in:
Paolo Cignoni 2010-04-28 15:02:05 +00:00
parent aeff903128
commit 4cfffc32f2
1 changed files with 3 additions and 0 deletions

View File

@ -738,6 +738,9 @@ void DrawPoints()
}
else
{
if(cm==CMPerMesh)
glColor(m->C());
// Perfect case, no deleted stuff,
// draw the vertices using vertex arrays
if (nm==NMPerVert)