src/layers/edittools.cpp

changeset 320
af6633412a6c
parent 319
9727e545b0bc
child 322
a39f454a3d7f
--- a/src/layers/edittools.cpp	Sun Jul 03 13:44:11 2022 +0300
+++ b/src/layers/edittools.cpp	Sun Jul 03 14:35:06 2022 +0300
@@ -440,8 +440,7 @@
 	else if (this->numpoints > 2) {
 		for (const PlainPolygonElement& poly : polygonize(
 			this->polygon.begin(),
-			this->polygon.begin() + static_cast<long>(this->numpoints),
-			this->gridMatrix)
+			this->polygon.begin() + static_cast<long>(this->numpoints))
 		) {
 			result.push_back(AppendToModel{
 				.newElement = elementFromPolygonAndColor(poly, MAIN_COLOR),

mercurial