Some minor refactoring and cleaning to the travel_to() method and new init_external_mp() method

This commit is contained in:
Alessandro Ranellucci 2014-10-27 10:34:51 +01:00
parent ed17c22889
commit a38ec14cb1
2 changed files with 38 additions and 22 deletions

View file

@ -828,7 +828,7 @@ sub write_gcode {
}
}
}
$gcodegen->external_mp(Slic3r::MotionPlanner->new(union_ex([ map @$_, @islands ])));
$gcodegen->init_external_mp(union_ex([ map @$_, @islands ]));
}
# calculate wiping points if needed