mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
ENABLE_GCODE_VIEWER set as default in:
SysInfoDialog.cpp Selection hpp/cpp Preferences.cpp GUI_Utils.hpp KBShortcutsDialog.cpp
This commit is contained in:
parent
faff112ea8
commit
87e1875822
6 changed files with 3 additions and 174 deletions
|
@ -3,9 +3,7 @@
|
|||
|
||||
#include <set>
|
||||
#include "libslic3r/Geometry.hpp"
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
#include "GLModel.hpp"
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
#if ENABLE_RENDER_SELECTION_CENTER
|
||||
class GLUquadric;
|
||||
|
@ -221,15 +219,8 @@ private:
|
|||
GLUquadricObj* m_quadric;
|
||||
#endif // ENABLE_RENDER_SELECTION_CENTER
|
||||
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
GLModel m_arrow;
|
||||
GLModel m_curved_arrow;
|
||||
#else
|
||||
// Arrows are saved through pointers to avoid including 3DScene.hpp.
|
||||
// It also allows mutability.
|
||||
std::unique_ptr<GLArrow> m_arrow;
|
||||
std::unique_ptr<GLCurvedArrow> m_curved_arrow;
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
mutable float m_scale_factor;
|
||||
|
||||
|
@ -386,11 +377,6 @@ private:
|
|||
void render_sidebar_rotation_hints(const std::string& sidebar_field) const;
|
||||
void render_sidebar_scale_hints(const std::string& sidebar_field) const;
|
||||
void render_sidebar_layers_hints(const std::string& sidebar_field) const;
|
||||
#if !ENABLE_GCODE_VIEWER
|
||||
void render_sidebar_position_hint(Axis axis) const;
|
||||
void render_sidebar_rotation_hint(Axis axis) const;
|
||||
void render_sidebar_scale_hint(Axis axis) const;
|
||||
#endif // !ENABLE_GCODE_VIEWER
|
||||
|
||||
public:
|
||||
enum SyncRotationType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue