Fixed one typo in BridgeDetector and some improvements to support material

This commit is contained in:
Alessandro Ranellucci 2014-05-01 19:11:53 +02:00
parent edeb0a90dd
commit 4311f30739
2 changed files with 12 additions and 10 deletions

View file

@ -146,8 +146,8 @@ sub contact_area {
) if $d > $fw/2;
} else {
$diff = diff(
offset([ map $_->p, @{$layerm->slices} ], -$fw/2),
[ map @$_, @{$lower_layer->slices} ],
[ map $_->p, @{$layerm->slices} ],
offset([ map @$_, @{$lower_layer->slices} ], +$fw*2),
);
# collapse very tiny spots