--- a/src/glcompiler.cpp Fri Jul 13 20:47:35 2018 +0300 +++ b/src/glcompiler.cpp Fri Jul 13 20:48:55 2018 +0300 @@ -144,7 +144,7 @@ * - subclass provides context for the polygon. */ QColor GLCompiler::getColorForPolygon( - LDPolygon& polygon, + const LDPolygon& polygon, const QModelIndex& polygonOwnerIndex, VboSubclass subclass ) {