Salome HOME
projects
/
modules
/
hydro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
151fba7
)
Groups for export corrected.
author
adv
<adv@opencascade.com>
Wed, 29 Jan 2014 06:40:15 +0000
(06:40 +0000)
committer
adv
<adv@opencascade.com>
Wed, 29 Jan 2014 06:40:15 +0000
(06:40 +0000)
src/HYDROData/HYDROData_CalculationCase.cxx
patch
|
blob
|
history
diff --git
a/src/HYDROData/HYDROData_CalculationCase.cxx
b/src/HYDROData/HYDROData_CalculationCase.cxx
index a418024d6f5c685a090fa941453d3227fad02b8d..8498732a85d611bef94a1951a8f72e4be3652e66 100644
(file)
--- a/
src/HYDROData/HYDROData_CalculationCase.cxx
+++ b/
src/HYDROData/HYDROData_CalculationCase.cxx
@@
-828,9
+828,12
@@
bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var
#ifdef DEB_CALCULATION
cout << "\nOld shape(" << i << ") = " << aShape.TShape() <<endl;
#endif
#ifdef DEB_CALCULATION
cout << "\nOld shape(" << i << ") = " << aShape.TShape() <<endl;
#endif
- const TopoDS_Shape& aModifiedShape = aSewing.Modified( aShape );
- if ( aModifiedShape.IsNull() )
- continue;
+
+ TopoDS_Shape aModifiedShape = aShape;
+ if ( aSewing.IsModified( aShape ) )
+ aModifiedShape = aSewing.Modified( aShape );
+ else if ( aSewing.IsModifiedSubShape( aShape ) )
+ aModifiedShape = aSewing.ModifiedSubShape( aShape );
#ifdef DEB_CALCULATION
const TopLoc_Location& aL1 = aShape.Location();
#ifdef DEB_CALCULATION
const TopLoc_Location& aL1 = aShape.Location();