Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug #168: filter for invalid polyline.
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_ImmersibleZone.cxx
diff --git
a/src/HYDROData/HYDROData_ImmersibleZone.cxx
b/src/HYDROData/HYDROData_ImmersibleZone.cxx
index d8673dae951890a42b42811a72bf8d58a60d6d3f..8c40d46789339fcb5e8776b54a72a4b84905d8d1 100644
(file)
--- a/
src/HYDROData/HYDROData_ImmersibleZone.cxx
+++ b/
src/HYDROData/HYDROData_ImmersibleZone.cxx
@@
-107,7
+107,7
@@
TopoDS_Shape HYDROData_ImmersibleZone::generateTopShape( const Handle(HYDROData_
BRepBuilderAPI_MakeFace aMakeFace( aPolylineWire, Standard_True );
aMakeFace.Build();
if( aMakeFace.IsDone() ) {
-
return
aMakeFace.Face();
+
aResultFace =
aMakeFace.Face();
}
}
} else {