Selection enabled only for 3D view and not for g-code preview

This commit is contained in:
Enrico Turri 2019-03-28 08:44:46 +01:00
parent 3c163285e5
commit a4f404a6a4
6 changed files with 13 additions and 3 deletions

View file

@ -154,6 +154,7 @@ private:
// Model, not owned.
Model* m_model;
bool m_enabled;
bool m_valid;
EMode m_mode;
EType m_type;
@ -180,6 +181,9 @@ public:
void set_volumes(GLVolumePtrs* volumes);
bool init(bool useVBOs);
bool is_enabled() const { return m_enabled; }
void set_enabled(bool enable) { m_enabled = enable; }
Model* get_model() const { return m_model; }
void set_model(Model* model);