New bridging logic, more robust. #58

This commit is contained in:
Alessandro Ranellucci committed 2011-11-19 16:44:24 +01:00
1 parent 1ef4d006a0
commit a1c766cc52
8 files changed
+86 -75

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ sub infill_direction {
}
# use bridge angle
if ($surface->isa('Slic3r::Surface::Bridge')) {
if ($surface->isa('Slic3r::Surface::Bridge') && defined $surface->bridge_angle) {
Slic3r::debugf "Filling bridge with angle %d\n", $surface->bridge_angle;
$rotate[0] = Slic3r::Geometry::deg2rad($surface->bridge_angle);
}