Revertation

Needed by other platforms
This commit is contained in:
Filip Sykala - NTB T15p 2023-09-14 21:02:03 +02:00
parent 6ef95999d3
commit e0bb5f8da8
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ using namespace Slic3r::GUI::Emboss;
GLGizmoSVG::GLGizmoSVG(GLCanvas3D &parent) GLGizmoSVG::GLGizmoSVG(GLCanvas3D &parent)
: GLGizmoBase(parent, M_ICON_FILENAME, -3) : GLGizmoBase(parent, M_ICON_FILENAME, -3)
, m_gui_cfg(nullptr)
, m_rotate_gizmo(parent, GLGizmoRotate::Axis::Z) // grab id = 2 (Z axis) , m_rotate_gizmo(parent, GLGizmoRotate::Axis::Z) // grab id = 2 (Z axis)
{ {
m_rotate_gizmo.set_group_id(0); m_rotate_gizmo.set_group_id(0);

View File

@ -130,7 +130,7 @@ private:
bool on_mouse_for_translate(const wxMouseEvent &mouse_event); bool on_mouse_for_translate(const wxMouseEvent &mouse_event);
struct GuiCfg; struct GuiCfg;
std::unique_ptr<const GuiCfg> m_gui_cfg = nullptr; std::unique_ptr<const GuiCfg> m_gui_cfg;
// actual selected only one volume - with emboss data // actual selected only one volume - with emboss data
ModelVolume *m_volume = nullptr; ModelVolume *m_volume = nullptr;