From: mzn Date: Wed, 9 Apr 2014 08:46:37 +0000 (+0000) Subject: Bug fix: copyObject() doesn't support stream altitude object type. X-Git-Tag: BR_hydro_v1_0_1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1d444ec3d968b841c7ea5239118e7a7c626a3be;p=modules%2Fhydro.git Bug fix: copyObject() doesn't support stream altitude object type. --- diff --git a/src/HYDROPy/HYDROData_Document.sip b/src/HYDROPy/HYDROData_Document.sip index 6aeddf89..56c7e5fd 100644 --- a/src/HYDROPy/HYDROData_Document.sip +++ b/src/HYDROPy/HYDROData_Document.sip @@ -162,6 +162,11 @@ class HYDROData_Document aRes = new HYDROData_ObstacleAltitude( *dynamic_cast( theObject ) ); break; } + case KIND_STREAM_ALTITUDE: + { + aRes = new HYDROData_StreamAltitude( *dynamic_cast( theObject ) ); + break; + } } return aRes;