diff options
author | bubnikv <bubnikv@gmail.com> | 2017-06-13 12:35:24 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-06-13 12:35:24 +0300 |
commit | 5cae4cc614dc379b35bba6397ea2bf83f0adac56 (patch) | |
tree | 9f1016e2174d921de285055ee9ae6efa66f04dd0 /slic3r.pl | |
parent | 21ddcb84871543516c2c9134ffc472e851915019 (diff) |
Fix of https://github.com/prusa3d/Slic3r/issues/285
Refactored Model.cpp/hpp to C++x11 loops,
simplified the mesh / bbox handling.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -144,7 +144,6 @@ if (@ARGV) { # slicing from command line foreach my $file (@ARGV) { $file = Slic3r::decode_path($file); my $model = Slic3r::Model->read_from_file($file); - $model->add_default_instances; my $mesh = $model->mesh; $mesh->translate(0, 0, -$mesh->bounding_box->z_min); my $upper = Slic3r::TriangleMesh->new; @@ -164,7 +163,6 @@ if (@ARGV) { # slicing from command line foreach my $file (@ARGV) { $file = Slic3r::decode_path($file); my $model = Slic3r::Model->read_from_file($file); - $model->add_default_instances; my $mesh = $model->mesh; $mesh->repair; |