Fix refinement algorithm to avoid the loose the solid

This commit is contained in:
wmayer 2013-08-24 07:26:31 +02:00
parent 48f8d67b50
commit f7cfe54fae
2 changed files with 6 additions and 0 deletions

View File

@ -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");

View File

@ -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");