src/glcompiler.h

changeset 1427
b7ba2af33c13
parent 1400
ae83213bdd63
child 1436
241d3e452b32
--- a/src/glcompiler.h	Fri Jul 13 20:47:35 2018 +0300
+++ b/src/glcompiler.h	Fri Jul 13 20:48:55 2018 +0300
@@ -61,7 +61,7 @@
 	void compileStaged();
 	void compilePolygon(LDPolygon& poly, const QModelIndex& polygonOwnerIndex, ObjectVboData& objectInfo);
 	Q_SLOT void compileObject(const QModelIndex &index);
-	QColor getColorForPolygon(LDPolygon& poly, const QModelIndex& polygonOwnerIndex, VboSubclass complement);
+	QColor getColorForPolygon(const LDPolygon& polygon, const QModelIndex& polygonOwnerIndex, VboSubclass complement);
 	QColor indexColorForID (qint32 id) const;
 	void needMerge();
 	Q_SLOT void recompile();

mercurial