--- a/src/linetypes/triangle.h Sun Mar 05 13:33:37 2017 +0200 +++ b/src/linetypes/triangle.h Sun Mar 05 16:47:52 2017 +0200 @@ -39,7 +39,7 @@ QString typeName() const override { return "triangle"; } protected: - friend class Model; + friend class ResourceVector<LDObject>; LDTriangle (Model* model); LDTriangle (Vertex const& v1, Vertex const& v2, Vertex const& v3, Model* model = nullptr); -}; \ No newline at end of file +};