--- 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; }