mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-08 12:07:28 +05:00
Mantis issue 0021683: EDF 678 GEOM: Partition failure
This commit is contained in:
parent
dccdaf0d56
commit
f6d916275e
@ -18,7 +18,6 @@
|
|||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
|
||||||
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
@ -562,6 +561,12 @@ Standard_Integer GEOMImpl_BlockDriver::Execute(TFunction_Logbook& log) const
|
|||||||
Standard_NullObject::Raise("Null Shape given");
|
Standard_NullObject::Raise("Null Shape given");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Copy shape to avoid problems (Mantis issue 0021683)
|
||||||
|
TopoDS_Shape aShapeCopy;
|
||||||
|
TColStd_IndexedDataMapOfTransientTransient aMapTShapes;
|
||||||
|
TNaming_CopyShape::CopyTool(aBlockOrComp, aMapTShapes, aShapeCopy);
|
||||||
|
aBlockOrComp = aShapeCopy;
|
||||||
|
|
||||||
// 1. Improve solids with seam and/or degenerated edges
|
// 1. Improve solids with seam and/or degenerated edges
|
||||||
BlockFix_BlockFixAPI aTool;
|
BlockFix_BlockFixAPI aTool;
|
||||||
//aTool.Tolerance() = toler;
|
//aTool.Tolerance() = toler;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user