From e0bb5f8da89dca29976e84c9fb9f20215b623ea3 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Thu, 14 Sep 2023 21:02:03 +0200 Subject: [PATCH] Revertation Needed by other platforms --- src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp | 1 + src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp index 6da0d6b878..f1fd4761c9 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp @@ -40,6 +40,7 @@ using namespace Slic3r::GUI::Emboss; GLGizmoSVG::GLGizmoSVG(GLCanvas3D &parent) : 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.set_group_id(0); diff --git a/src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp b/src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp index 7ff6c8225c..42785759f7 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp @@ -130,7 +130,7 @@ private: bool on_mouse_for_translate(const wxMouseEvent &mouse_event); struct GuiCfg; - std::unique_ptr m_gui_cfg = nullptr; + std::unique_ptr m_gui_cfg; // actual selected only one volume - with emboss data ModelVolume *m_volume = nullptr;