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
path: root/t
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-06-20 17:15:09 +0300
committerbubnikv <bubnikv@gmail.com>2019-06-20 17:15:09 +0300
commit35b3fd317623b98153a0b91d3f51c784d2cc0a20 (patch)
tree8c59c535e6f8207431ed79ffcc6ba4c23c2e0483 /t
parent0c95d4e0d998230258b5f3aa35af3f19da46778a (diff)
Integrated the new layer height spans with configs into the backend.
Fixed some compiler warnings.
Diffstat (limited to 't')
-rw-r--r--t/print.t8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/print.t b/t/print.t
index be2db3431..e76d226af 100644
--- a/t/print.t
+++ b/t/print.t
@@ -1,4 +1,4 @@
-use Test::More tests => 6;
+use Test::More tests => 2;
use strict;
use warnings;
@@ -31,6 +31,8 @@ use Slic3r::Test;
ok abs(unscale($center->[Y]) - $print_center->[Y]) < 0.005, 'print is centered around print_center (Y)';
}
+# This is really testing a path, which is no more used by the slicer, just by the test cases.
+if (0)
{
# this represents the aggregate config from presets
my $config = Slic3r::Config::new_from_defaults;
@@ -40,7 +42,7 @@ use Slic3r::Test;
# user sets a per-region option
$print->print->objects->[0]->model_object->config->set('fill_density', 100);
- $print->print->reload_object(0);
+# $print->print->reload_object(0);
is $print->print->regions->[0]->config->fill_density, 100, 'region config inherits model object config';
# user exports G-code, thus the default config is reapplied
@@ -51,7 +53,7 @@ use Slic3r::Test;
# user assigns object extruders
$print->print->objects->[0]->model_object->config->set('extruder', 3);
$print->print->objects->[0]->model_object->config->set('perimeter_extruder', 2);
- $print->print->reload_object(0);
+# $print->print->reload_object(0);
is $print->print->regions->[0]->config->infill_extruder, 3, 'extruder setting is correctly expanded';
is $print->print->regions->[0]->config->perimeter_extruder, 2, 'extruder setting does not override explicitely specified extruders';