diff --git a/CMakeLists.txt b/CMakeLists.txt index 395d9591..06d3c3ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,10 @@ cmake_minimum_required( VERSION 3.12 FATAL_ERROR ) set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../ecbuild/cmake") find_package( ecbuild 3.4 REQUIRED ) -project( magics VERSION 4.15.0 LANGUAGES CXX ) + +# In prepaation for hotfix of 4.14.0 +project( magics VERSION 4.14.1 LANGUAGES CXX ) + # make sure that the header files are installed into include/magics # note that this needs to be done before ecbuild_declare_project() diff --git a/src/visualisers/EpsGraph.cc b/src/visualisers/EpsGraph.cc index ddba2ae9..729e1cbb 100644 --- a/src/visualisers/EpsGraph.cc +++ b/src/visualisers/EpsGraph.cc @@ -627,6 +627,8 @@ magics::Polyline* EpsGraph::newForecast() { } void EpsGraph::pushControl(magics::Polyline* control, BasicGraphicsObjectContainer& visitor) { + if ( !control_ ) + return; const Transformation& transformation = visitor.transformation(); if (!control->empty() && whisker_) { transformation(*control, visitor);