diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-01-19 17:30:34 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-01-19 17:31:12 +0300 |
commit | 229039d3b880e108c81025f9a6bea88c777f762a (patch) | |
tree | c9fb24379fb8cc955bcc51a54cdf950d00dbb7ba /t/multi.t | |
parent | 7b980c1dc934eacb2f54694cad3b4b5b3f73e00e (diff) |
Fixed test and implementation of ooze prevention standby points (wrong test caused wrong implementation). #2103
Diffstat (limited to 't/multi.t')
-rw-r--r-- | t/multi.t | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -44,7 +44,6 @@ use Slic3r::Test; if $tool_temp[$tool] != $expected_temp + $config->standby_temperature_delta; push @toolchange_points, my $point = Slic3r::Point->new_scale($self->X, $self->Y); - $point->translate(map +scale($_), @{ $config->extruder_offset->[$tool] }); } $tool = $1; } elsif ($cmd eq 'M104' || $cmd eq 'M109') { @@ -73,11 +72,11 @@ use Slic3r::Test; if (0) { require "Slic3r/SVG.pm"; Slic3r::SVG::output( - "ooze_prevention.svg", + "ooze_prevention_test.svg", no_arrows => 1, polygons => [$convex_hull], - points => \@toolchange_points, red_points => \@t, + points => \@toolchange_points, ); } |