Bad memory access in regular_points()

This commit is contained in:
Alessandro Ranellucci 2013-10-27 20:48:50 +01:00
parent 58d92ac36a
commit a99d34a91a
2 changed files with 3 additions and 3 deletions

View file

@ -396,7 +396,7 @@ sub generate_toolpaths {
push @$base, @$contact;
} elsif (@$contact && $contact_loops > 0) {
# generate the outermost loop
my @loops0;
my @loops0 = ();
{
# find centerline of the external loop of the contours
my @external_loops = @{offset($contact, -$flow->scaled_width/2)};