src/editmodes/rectangleMode.cpp

changeset 1079
67c6e5d32e68
parent 1077
952d6b3e7d11
child 1104
edddb9b0db9e
--- a/src/editmodes/rectangleMode.cpp	Sun Jan 29 15:49:36 2017 +0200
+++ b/src/editmodes/rectangleMode.cpp	Sun Jan 29 21:02:11 2017 +0200
@@ -41,7 +41,7 @@
 {
 	if (countof(m_drawedVerts) == 2)
 	{
-		Model model;
+		Model model {m_documents};
 		LDQuad* quad = model.emplace<LDQuad>();
 		updateRectVerts();
 

mercurial