From e1681d729f4516b96d7c763da266627f09512999 Mon Sep 17 00:00:00 2001 From: isn Date: Tue, 24 Jan 2017 15:23:40 +0300 Subject: [PATCH] refs #1103 --- src/HYDROData/HYDROData_CalculationCase.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HYDROData/HYDROData_CalculationCase.cxx b/src/HYDROData/HYDROData_CalculationCase.cxx index 7f87d0c6..89fc176b 100644 --- a/src/HYDROData/HYDROData_CalculationCase.cxx +++ b/src/HYDROData/HYDROData_CalculationCase.cxx @@ -1161,7 +1161,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var const TopoDS_Shape& aShape = aShToName.FindKey(i); if ( aShape.IsNull() ) continue; - + SH2M.Bind(aShape, TopTools_ListOfShape()); TopTools_ListOfShape& LM = SH2M.ChangeFind(aShape); if ( aShape.ShapeType() == TopAbs_FACE || aShape.ShapeType() == TopAbs_SHELL ) @@ -1178,6 +1178,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var LM.Append(anExp.Current()); } anExp.Init( aShape, TopAbs_FACE, TopAbs_SHELL ); + for (; anExp.More(); anExp.Next() ) { aSewing.Add( anExp.Current() ); LM.Append(anExp.Current()); @@ -1212,8 +1213,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var #ifdef DEB_CALCULATION BRepTools::Write(aSewedShape ,"Sew.brep"); -#endif - // Publish the sewed shape +#endif // Publish the sewed shape QString aName = EXPORT_NAME; GEOM::GEOM_Object_ptr aMainShape = HYDROData_GeomTool::ExplodeShapeInGEOMandPublish( theGeomEngine, theStudy, aSewedShape, aFacesToNameModif, aName, theGeomObjEntry ); -- 2.39.2