mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-22 05:59:12 -07:00
Selection enabled only for 3D view and not for g-code preview
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user