Fix refinement algorithm to avoid the loose the solid
This commit is contained in:
parent
48f8d67b50
commit
f7cfe54fae
|
@ -1980,6 +1980,9 @@ TopoDS_Shape TopoShape::removeSplitter() const
|
|||
const TopoDS_Shell &newShell = uniter.getShell();
|
||||
mkSolid.Add(newShell);
|
||||
}
|
||||
else {
|
||||
mkSolid.Add(currentShell);
|
||||
}
|
||||
}
|
||||
else {
|
||||
Standard_Failure::Raise("Removing splitter failed");
|
||||
|
|
|
@ -710,6 +710,9 @@ void Part::BRepBuilderAPI_RefineModel::Build()
|
|||
mkSolid.Add(newShell);
|
||||
LogModifications(uniter);
|
||||
}
|
||||
else {
|
||||
mkSolid.Add(currentShell);
|
||||
}
|
||||
}
|
||||
else {
|
||||
Standard_Failure::Raise("Removing splitter failed");
|
||||
|
|
Loading…
Reference in New Issue
Block a user