Possible (or at least partial) workaround for the current Clipper segfault. #779

This commit is contained in:
Alessandro Ranellucci 2012-11-07 15:22:32 +01:00
parent 2ef90562ce
commit 2e3110d2e4

View File

@ -19,7 +19,7 @@ sub safety_offset {
sub offset {
my ($polygons, $distance, $scale, $joinType, $miterLimit) = @_;
$scale ||= 100000;
$scale ||= 10000;
$joinType //= JT_MITER;
$miterLimit //= 2;