Bugfix: internal bridge surfaces were incorrectly merged with other internal solid surfaces, causing suboptimal results
This commit is contained in:
parent
8ce7b13db5
commit
bf9fe1b505
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue