Sat, 19 Apr 2014 14:12:30 +0300
- fixed: rotating a subfile would make known verts go out of sync
src/ldObject.cc | file | annotate | diff | comparison | revisions |
--- a/src/ldObject.cc Sat Apr 19 14:09:51 2014 +0300 +++ b/src/ldObject.cc Sat Apr 19 14:12:30 2014 +0300 @@ -755,7 +755,13 @@ // void LDMatrixObject::setTransform (const Matrix& val) { + if (linkPointer()->document() != null) + linkPointer()->document()->removeKnownVerticesOf (linkPointer()); + changeProperty (linkPointer(), &m_transform, val); + + if (linkPointer()->document() != null) + linkPointer()->document()->addKnownVerticesOf (linkPointer()); } // =============================================================================