corrected managment of per-mesh color for point clouds
This commit is contained in:
parent
aeff903128
commit
4cfffc32f2
|
@ -738,6 +738,9 @@ void DrawPoints()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(cm==CMPerMesh)
|
||||||
|
glColor(m->C());
|
||||||
|
|
||||||
// Perfect case, no deleted stuff,
|
// Perfect case, no deleted stuff,
|
||||||
// draw the vertices using vertex arrays
|
// draw the vertices using vertex arrays
|
||||||
if (nm==NMPerVert)
|
if (nm==NMPerVert)
|
||||||
|
|
Loading…
Reference in New Issue