src/document.cpp

changeset 225
551c136b459e
parent 223
ce81db996275
child 226
60d6b797a12e
--- a/src/document.cpp	Wed Jun 15 12:32:40 2022 +0300
+++ b/src/document.cpp	Wed Jun 15 12:32:50 2022 +0300
@@ -413,4 +413,5 @@
 		Q_EMIT this->modelAction(action);
 	}
 	this->polygon.clear();
+	this->polygon.push_back(this->worldPosition.value_or(glm::vec3{0, 0, 0}));
 }

mercurial