Deleted debugging messages

This commit is contained in:
YuSanka 2018-06-08 09:55:27 +02:00
parent 7ba2093a9b
commit da9b0a9b7d
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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)