Bugfix: bad syntax in last commit. #202

This commit is contained in:
Alessandro Ranellucci 2012-02-13 18:02:54 +01:00
parent dbb40095b7
commit 0deee20ade

View file

@ -39,10 +39,12 @@ sub group {
sub offset {
my $self = shift;
return map (ref $self)->new(
expolygon => $_,
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
), $self->expolygon->offset_ex(@_);
return map {
(ref $self)->new(
expolygon => $_,
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
)
} $self->expolygon->offset_ex(@_);
}
sub add_hole {