From b4133fcf96eeb591e92303f6c65e1ec0a1f6ee8e Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Tue, 31 Jan 2023 18:24:12 +0100 Subject: [PATCH] Remove irrelevant asserts --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index cebef8b42..663aafc77 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -576,9 +576,6 @@ bool GLGizmoEmboss::on_mouse(const wxMouseEvent &mouse_event) if (mouse_event.Moving()) return false; // not selected volume - assert(m_volume != nullptr); - assert(priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) != nullptr); - assert(m_volume->text_configuration.has_value()); if (m_volume == nullptr || priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr || !m_volume->text_configuration.has_value()) return false;