mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
ENABLE_SHOW_SCENE_LABELS set as default
This commit is contained in:
parent
c4c2cf4ead
commit
4a59a45d51
10 changed files with 0 additions and 45 deletions
|
@ -375,7 +375,6 @@ private:
|
|||
};
|
||||
#endif // ENABLE_RENDER_STATISTICS
|
||||
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
class Labels
|
||||
{
|
||||
bool m_enabled{ false };
|
||||
|
@ -389,7 +388,6 @@ private:
|
|||
bool is_shown() const { return m_shown; }
|
||||
void render(const std::vector<const ModelInstance*>& sorted_instances) const;
|
||||
};
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
|
||||
public:
|
||||
enum ECursorType : unsigned char
|
||||
|
@ -468,9 +466,7 @@ private:
|
|||
mutable int m_imgui_undo_redo_hovered_pos{ -1 };
|
||||
int m_selected_extruder;
|
||||
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
Labels m_labels;
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
|
||||
public:
|
||||
GLCanvas3D(wxGLCanvas* canvas, Bed3D& bed, Camera& camera, GLToolbar& view_toolbar);
|
||||
|
@ -487,9 +483,7 @@ public:
|
|||
void set_as_dirty();
|
||||
|
||||
unsigned int get_volumes_count() const;
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
const GLVolumeCollection& get_volumes() const { return m_volumes; }
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
void reset_volumes();
|
||||
int check_volumes_outside_state() const;
|
||||
|
||||
|
@ -501,9 +495,7 @@ public:
|
|||
void set_config(const DynamicPrintConfig* config);
|
||||
void set_process(BackgroundSlicingProcess* process);
|
||||
void set_model(Model* model);
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
const Model* get_model() const { return m_model; }
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
|
||||
const Selection& get_selection() const { return m_selection; }
|
||||
Selection& get_selection() { return m_selection; }
|
||||
|
@ -551,9 +543,7 @@ public:
|
|||
void enable_main_toolbar(bool enable);
|
||||
void enable_undoredo_toolbar(bool enable);
|
||||
void enable_dynamic_background(bool enable);
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
void enable_labels(bool enable) { m_labels.enable(enable); }
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
void allow_multisample(bool allow);
|
||||
|
||||
void zoom_to_bed();
|
||||
|
@ -675,10 +665,8 @@ public:
|
|||
|
||||
void mouse_up_cleanup();
|
||||
|
||||
#if ENABLE_SHOW_SCENE_LABELS
|
||||
bool are_labels_shown() const { return m_labels.is_shown(); }
|
||||
void show_labels(bool show) { m_labels.show(show); }
|
||||
#endif // ENABLE_SHOW_SCENE_LABELS
|
||||
|
||||
private:
|
||||
bool _is_shown_on_screen() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue