From f1d444ec3d968b841c7ea5239118e7a7c626a3be Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 9 Apr 2014 08:46:37 +0000 Subject: [PATCH] Bug fix: copyObject() doesn't support stream altitude object type. --- src/HYDROPy/HYDROData_Document.sip | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2