]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Bug fix: copyObject() doesn't support stream altitude object type.
authormzn <mzn@opencascade.com>
Wed, 9 Apr 2014 08:46:37 +0000 (08:46 +0000)
committermzn <mzn@opencascade.com>
Wed, 9 Apr 2014 08:46:37 +0000 (08:46 +0000)
src/HYDROPy/HYDROData_Document.sip

index 6aeddf8904d4232e2341258c9fa69ac951452742..56c7e5fdae0e95ee94589ec3a402a1bfc4351f3f 100644 (file)
@@ -162,6 +162,11 @@ class HYDROData_Document
         aRes = new HYDROData_ObstacleAltitude( *dynamic_cast<HYDROData_ObstacleAltitude*>( theObject ) );
         break;
       }
+      case KIND_STREAM_ALTITUDE:
+      {
+        aRes = new HYDROData_StreamAltitude( *dynamic_cast<HYDROData_StreamAltitude*>( theObject ) );
+        break;
+      }
     }
     
     return aRes;