Fixed warning texture not disappearing when deleting object out of bed

This commit is contained in:
Enrico Turri 2018-04-10 14:12:16 +02:00
parent b961711f28
commit d789b5c0df

View File

@ -231,6 +231,9 @@ sub reload_scene {
Slic3r::GUI::_3DScene::reset_warning_texture(); Slic3r::GUI::_3DScene::reset_warning_texture();
$self->on_enable_action_buttons->(1) if ($self->on_enable_action_buttons); $self->on_enable_action_buttons->(1) if ($self->on_enable_action_buttons);
} }
} else {
$self->set_warning_enabled(0);
Slic3r::GUI::_3DScene::reset_warning_texture();
} }
} }