Salome HOME
Variables naming.
[modules/hydro.git] / src / HYDROData / HYDROData_Channel.cxx
index ab054c726d6d2ed1a744b90499ced9cd1b03ee81..bd757fbd7b4bc1ba8c1f34edcdf8344f4b641aef 100644 (file)
@@ -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() );