From bf9fe1b5058bba2764bfe5270b1e9e7c39020617 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 27 Feb 2013 01:30:32 +0100 Subject: [PATCH] Bugfix: internal bridge surfaces were incorrectly merged with other internal solid surfaces, causing suboptimal results --- lib/Slic3r/Surface.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Surface.pm b/lib/Slic3r/Surface.pm index 8ebddaa14..a3cbe4b08 100644 --- a/lib/Slic3r/Surface.pm +++ b/lib/Slic3r/Surface.pm @@ -93,10 +93,10 @@ sub p { sub is_solid { my $self = shift; my $type = $self->surface_type; + # S_TYPE_INTERNALBRIDGE is not solid because we can't merge it with other solid types return $type == S_TYPE_TOP || $type == S_TYPE_BOTTOM - || $type == S_TYPE_INTERNALSOLID - || $type == S_TYPE_INTERNALBRIDGE; + || $type == S_TYPE_INTERNALSOLID; } sub is_internal {