diff -r 3b279b5e57d3 -r fc1c13db9618 src/ldObject.cpp --- a/src/ldObject.cpp Sat Feb 13 04:14:43 2016 +0200 +++ b/src/ldObject.cpp Sun Feb 14 03:19:28 2016 +0200 @@ -217,7 +217,7 @@ if (idx != -1) { // Replace the instance of the old object with the new object - document()->setObject (idx, other); + document()->setObjectAt (idx, other); // Remove the old object destroy(); @@ -231,9 +231,9 @@ if (idx != -1 and not others.isEmpty()) { for (int i = 1; i < others.size(); ++i) - document()->insertObj (idx + i, others[i]); + document()->insertObject (idx + i, others[i]); - document()->setObject (idx, others[0]); + document()->setObjectAt (idx, others[0]); destroy(); } } @@ -773,7 +773,7 @@ } // Not inverted, thus prefix it with a new invertnext. - document()->insertObj (idx, new LDBfc (BfcStatement::InvertNext)); + document()->insertObject (idx, new LDBfc (BfcStatement::InvertNext)); } // ============================================================================= @@ -1210,7 +1210,7 @@ changeProperty (this, &m_fileInfo, newReferee); if (document()) - document()->needRecount(); + document()->recountTriangles(); // If it's an immediate subfile reference (i.e. this subfile is in an opened document), we need to pre-compile the // GL polygons for the document if they don't exist already.