diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index a12b2aa8e..689ccff28 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1852,8 +1852,6 @@ sub on_config_change { sub item_changed_selection{ my ($self, $obj_idx) = @_; - Wx::MessageBox("Inside item_changed_selection", "Slic3r Info", wxOK | wxICON_INFORMATION, $self); - $self->{canvas}->Refresh; if ($self->{canvas3D}){ $self->{canvas3D}->deselect_volumes; @@ -2067,7 +2065,6 @@ sub select_object { if (defined $obj_idx) { $self->{objects}->[$obj_idx]->selected(1); # Select current object in the list on c++ side - Wx::MessageBox("Before select_current_object", "Slic3r Info", wxOK | wxICON_INFORMATION, $self); Slic3r::GUI::select_current_object($obj_idx); } else { # Unselect all objects in the list on c++ side diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp index d0064d0a2..442acd3e4 100644 --- a/xs/src/slic3r/GUI/GUI.cpp +++ b/xs/src/slic3r/GUI/GUI.cpp @@ -1133,17 +1133,14 @@ void unselect_objects() void select_current_object(int idx) { - wxMessageBox("Inside select_current_object", "Info"); g_prevent_list_events = true; m_objects_ctrl->UnselectAll(); - wxMessageBox("UnselectAll", "Info"); if (idx < 0) { g_prevent_list_events = false; return; } m_objects_ctrl->Select(m_objects_model->GetItemById(idx)); g_prevent_list_events = false; - wxMessageBox("Item is selected", "Info"); if (get_view_mode() == ConfigMenuModeExpert){ if (!m_sizer_object_buttons->IsShown(1)) @@ -1151,7 +1148,6 @@ void select_current_object(int idx) if (!m_collpane_settings->IsShown()) m_collpane_settings->Show(true); } - wxMessageBox("Updated sizer showing", "Info"); } void add_expert_mode_part(wxWindow* parent, wxBoxSizer* sizer, int event_object_selection_changed)