From 827d08d0900d141333bf344ca73fc08f1455e838 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Thu, 30 Mar 2023 12:37:50 +0200 Subject: [PATCH] add more comment --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index 4e45263fac..3631a4bea0 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -782,12 +782,14 @@ void GLGizmoEmboss::data_changed(bool is_serializing) { set_volume_by_selection(); // when open window by "T" and no valid volume is selected, so Create new one + // this is only place where One could distiguish between serializing and open by shortcut T if (!is_serializing && m_is_just_opened && m_volume == nullptr) { // reopen gizmo when new object is created close(); if (wxGetApp().get_mode() == comSimple || wxGetApp().obj_list()->has_selected_cut_object()) - // It's impossible to add a part in simple mode + // It's unwanted to add a part in simple mode return; + // start creating new object create_volume(ModelVolumeType::MODEL_PART); }