Fixed arcs.t to work with new serialization mechanism

This commit is contained in:
Alessandro Ranellucci 2012-05-19 23:39:36 +02:00
parent 159ca3f65e
commit 4aa85f4571
2 changed files with 18 additions and 12 deletions

View file

@ -148,6 +148,7 @@ sub detect_arcs {
my $self = shift;
my ($max_angle, $len_epsilon) = @_;
$self->deserialize;
$max_angle = deg2rad($max_angle || 15);
$len_epsilon ||= 10 / $Slic3r::scaling_factor;