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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t/multi.t
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-02-26 14:55:36 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-02-26 14:56:34 +0400
commit344a517ce8432db944f65659ce6d7577fe05a053 (patch)
treeded104ea7671f602f88f4a59a36e1c7394061830 /t/multi.t
parent16d899f46aa0dc8c4866cc4cf3d7f8a6c5837013 (diff)
Regression test for #1808 (crash when using non-consecutive extruders), already fixed in master branch
Diffstat (limited to 't/multi.t')
-rw-r--r--t/multi.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/t/multi.t b/t/multi.t
index 855461791..fb114f196 100644
--- a/t/multi.t
+++ b/t/multi.t
@@ -1,4 +1,4 @@
-use Test::More tests => 1;
+use Test::More tests => 2;
use strict;
use warnings;
@@ -58,4 +58,12 @@ use Slic3r::Test;
ok !(first { $convex_hull->contains_point($_) } @toolchange_points), 'all toolchanges happen outside skirt';
}
+{
+ my $config = Slic3r::Config->new_from_defaults;
+ $config->set('support_material_extruder', 3);
+
+ my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
+ ok Slic3r::Test::gcode($print), 'no errors when using non-consecutive extruders';
+}
+
__END__