diff -r f0a8ecb6a357 -r 92c6ec099075 src/ldDocument.h --- a/src/ldDocument.h Fri Jan 01 23:41:55 2016 +0200 +++ b/src/ldDocument.h Sat Feb 13 04:06:49 2016 +0200 @@ -77,6 +77,7 @@ void mergeVertices(); QString name() const; void needVertexMerge(); + void needRecount(); const LDObjectList& objects() const; void openForEditing(); const QList& polygonData() const; @@ -95,6 +96,7 @@ void setTabIndex (int value); void swapObjects (LDObject* one, LDObject* other); int tabIndex() const; + int triangleCount(); void undo(); void vertexChanged (const Vertex& a, const Vertex& b); @@ -111,8 +113,10 @@ bool m_needVertexMerge; bool m_needsReCache; // If true, next polygon inline of this document rebuilds stored polygon data. bool m_beingDestroyed; + bool m_needRecount; long m_savePosition; int m_tabIndex; + int m_triangleCount; QList m_polygonData; QMap> m_objectVertices; QVector m_vertices;