mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-06 06:40:46 +05:00
Fix bug 0020096: EDF 897 GEOM MakeFilling with a compound de wires.
This commit is contained in:
parent
3bae84802c
commit
607a46ee0e
@ -106,6 +106,13 @@ Standard_Integer GEOMImpl_FillingDriver::Execute(TFunction_Logbook& log) const
|
|||||||
Standard_Real First, Last;
|
Standard_Real First, Last;
|
||||||
Handle(Geom_Curve) C;
|
Handle(Geom_Curve) C;
|
||||||
|
|
||||||
|
TopoDS_Iterator It (aShape);
|
||||||
|
for (; It.More(); It.Next()) {
|
||||||
|
Scurrent = It.Value();
|
||||||
|
if (Scurrent.ShapeType() != TopAbs_EDGE)
|
||||||
|
Standard_ConstructionError::Raise("The argument compound must contain only edges");
|
||||||
|
}
|
||||||
|
|
||||||
if (!isApprox) {
|
if (!isApprox) {
|
||||||
// make filling as in old version of SALOME (before 4.1.1)
|
// make filling as in old version of SALOME (before 4.1.1)
|
||||||
GeomFill_SectionGenerator Section;
|
GeomFill_SectionGenerator Section;
|
||||||
|
Loading…
Reference in New Issue
Block a user