--- 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();