src/glCompiler.cc

changeset 806
4240f47aa2d4
parent 795
195fa1fff9c3
child 840
d077dd19bf9a
--- a/src/glCompiler.cc	Mon Jun 16 18:31:13 2014 +0300
+++ b/src/glCompiler.cc	Sun Jun 22 03:55:56 2014 +0300
@@ -160,7 +160,7 @@
 				if (topobj->color() == maincolor())
 					qcol = GLRenderer::getMainColor();
 				else
-					qcol = topobj->color()->faceColor();
+					qcol = topobj->color().faceColor();
 			}
 			elif (poly.color == edgeColorIndex)
 			{
@@ -171,7 +171,7 @@
 				LDColor col = LDColor::fromIndex (poly.color);
 
 				if (col)
-					qcol = col->faceColor();
+					qcol = col.faceColor();
 			}
 			break;
 	}

mercurial