--- a/src/hierarchyelement.h Sun Feb 14 03:19:28 2016 +0200 +++ b/src/hierarchyelement.h Tue Feb 16 00:59:50 2016 +0200 @@ -25,6 +25,7 @@ class GuiUtilities; class LDDocument; class DocumentManager; +class PrimitiveManager; // // Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a few useful @@ -38,6 +39,7 @@ const LDObjectList& selectedObjects(); LDDocument* currentDocument(); GuiUtilities* guiUtilities() const; + PrimitiveManager* primitives(); protected: MainWindow* m_window;