Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-06-13 12:35:24 +0300
committerbubnikv <bubnikv@gmail.com>2017-06-13 12:35:24 +0300
commit5cae4cc614dc379b35bba6397ea2bf83f0adac56 (patch)
tree9f1016e2174d921de285055ee9ae6efa66f04dd0 /slic3r.pl
parent21ddcb84871543516c2c9134ffc472e851915019 (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-xslic3r.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/slic3r.pl b/slic3r.pl
index 0cd814ce5..47963d00d 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -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;