3DScene reset_object method moved to c++

This commit is contained in:
Enrico Turri committed 2018-05-18 14:08:59 +02:00
1 parent 5fc8fdee11
commit a7fc57a176
12 files changed
+135 -31

No files matched your search

+5 -2
View File
@@ -254,8 +254,11 @@ sub _update {
for @$expolygon;
$expolygon->translate(map Slic3r::Geometry::scale($_), @{ $self->{model_object}->instances->[0]->offset });
}
$self->{canvas}->reset_objects;
#==============================================================================================================================
Slic3r::GUI::_3DScene::reset_volumes($self->{canvas});
# $self->{canvas}->reset_objects;
#==============================================================================================================================
$self->{canvas}->load_object($_, undef, undef, [0]) for @objects;
$self->{canvas}->SetCuttingPlane(
$self->{cut_options}{z},