--- a/src/editmodes/drawMode.cpp Sun Mar 05 16:47:52 2017 +0200 +++ b/src/editmodes/drawMode.cpp Sun Mar 05 16:50:06 2017 +0200 @@ -74,15 +74,15 @@ { case 2: // 2 verts - make a line - model.emplace<LDEdgeLine>(verts[0], verts[1]); + model.append<LDEdgeLine>(verts[0], verts[1]); break; case 3: case 4: { LDObject* obj = (countof(verts) == 3) ? - static_cast<LDObject*>(model.emplace<LDTriangle>()) : - static_cast<LDObject*>(model.emplace<LDQuadrilateral>()); + static_cast<LDObject*>(model.append<LDTriangle>()) : + static_cast<LDObject*>(model.append<LDQuadrilateral>()); for (int i = 0; i < countof(verts); ++i) obj->setVertex (i, verts[i]);