--- a/src/linetypes/modelobject.cpp Sun Mar 05 16:47:52 2017 +0200 +++ b/src/linetypes/modelobject.cpp Sun Mar 05 16:50:06 2017 +0200 @@ -443,7 +443,7 @@ } // Not inverted, thus prefix it with a new invertnext. - this->model()->emplaceAt<LDBfc>(idx, BfcStatement::InvertNext); + this->model()->insert<LDBfc>(idx, BfcStatement::InvertNext); } // ============================================================================= @@ -625,7 +625,7 @@ for (LDPolygon& poly : polygons) { - LDEdgeLine* line = model.emplace<LDEdgeLine>(poly.vertices[0], poly.vertices[1]); + LDEdgeLine* line = model.append<LDEdgeLine>(poly.vertices[0], poly.vertices[1]); line->setColor (poly.color); } }