Skip to content

Commit

Permalink
E-Suite ecCharts : eps_control = off will not show the control anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Apr 26, 2023
1 parent b2c081d commit b678a98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions src/visualisers/EpsGraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b678a98

Please sign in to comment.