src/linetypes/modelobject.h

changeset 1236
861bf8ebb8ec
parent 1149
502c866b8512
child 1244
68e126e8c629
--- a/src/linetypes/modelobject.h	Fri Jan 12 00:22:35 2018 +0200
+++ b/src/linetypes/modelobject.h	Fri Jan 12 00:55:31 2018 +0200
@@ -78,12 +78,13 @@
 	virtual int numVertices() const;
 	virtual QString objectListText() const;
 	LDObject* previous() const;
-	bool previousIsInvertnext(class LDBfc*& ptr);
 	QColor randomColor() const;
 	void setColor (LDColor color);
 	void setHidden (bool value);
 	void setVertex (int i, const Vertex& vert);
 	void swap (LDObject* other);
+	bool isInverted() const;
+	void setInverted(bool value);
 	virtual int triangleCount() const;
 	virtual LDObjectType type() const = 0;
 	virtual QString typeName() const = 0;
@@ -104,6 +105,7 @@
 	void changeProperty(T* property, const T& value);
 
 private:
+	bool m_hasInvertNext = false;
 	bool m_isHidden;
 	bool m_isSelected;
 	Model* _model;

mercurial