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:
1922ed0
)
check status of channel constructor
author
asl
<asl@opencascade.com>
Fri, 31 Jan 2014 13:36:32 +0000
(13:36 +0000)
committer
asl
<asl@opencascade.com>
Fri, 31 Jan 2014 13:36:32 +0000
(13:36 +0000)
src/HYDROData/HYDROData_Channel.cxx
patch
|
blob
|
history
diff --git
a/src/HYDROData/HYDROData_Channel.cxx
b/src/HYDROData/HYDROData_Channel.cxx
index ab054c726d6d2ed1a744b90499ced9cd1b03ee81..bd757fbd7b4bc1ba8c1f34edcdf8344f4b641aef 100644
(file)
--- a/
src/HYDROData/HYDROData_Channel.cxx
+++ b/
src/HYDROData/HYDROData_Channel.cxx
@@
-108,6
+108,9
@@
void HYDROData_Channel::Update()
#endif
HYDROData_Canal3dAnd2d aChannelConstructor( aProfileWire, aPathWire );
+ if( aChannelConstructor.GetStatus() != 0 )
+ return;
+
aChannelConstructor.Create3dPresentation();
aChannelConstructor.Create2dPresentation();
SetShape3D( aChannelConstructor.Get3dPresentation() );