diff -r 90d6f4b7782e -r a55b2608a395 src/glRenderer.h --- a/src/glRenderer.h Thu Feb 09 13:26:44 2017 +0200 +++ b/src/glRenderer.h Thu Feb 09 19:32:41 2017 +0200 @@ -72,7 +72,7 @@ Q_OBJECT public: - GLRenderer(Model* model, QWidget* parent = nullptr); + GLRenderer(const Model* model, QWidget* parent = nullptr); ~GLRenderer(); QColor backgroundColor() const; @@ -144,7 +144,7 @@ } private: - Model* const m_model; + const Model* const m_model; GLCompiler* m_compiler; LDObject* m_objectAtCursor = nullptr; CameraIcon m_cameraIcons[7];