diff -r 241d3e452b32 -r 1a77c6156db7 src/canvas.h --- a/src/canvas.h Fri Dec 28 00:03:47 2018 +0200 +++ b/src/canvas.h Tue Jan 01 22:30:10 2019 +0200 @@ -23,8 +23,10 @@ class Canvas : public gl::Renderer { + Q_OBJECT + public: - Canvas(LDDocument* document, QWidget* parent = nullptr); + Canvas(LDDocument* document, gl::CameraType cameraType, QWidget* parent = nullptr); ~Canvas(); EditModeType currentEditModeType() const; @@ -62,5 +64,5 @@ AbstractEditMode* m_currentEditMode = nullptr; Vertex m_position3D; Plane m_drawPlane; - double cullValues[6] = {0}; + double cullValue; };