Skip to content

Commit

Permalink
Modified "show model coverage" to zoom on shaded area.
Browse files Browse the repository at this point in the history
  • Loading branch information
norulz committed Dec 7, 2018
1 parent 0969a2c commit 9185158
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ data/config
.qmake.stash
mac_online_installer/packages/org.opengribs.xygrib.core.mac/.DS_Store
.DS_Store
*.autosave
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ cmake_minimum_required (VERSION 3.1.0)
project (XyGrib)
set(VERSION_MAJOR 1)
set(VERSION_MINOR 2)
set(VERSION_PATCH 0)
set(VERSION_PATCH 2)

set(XYGRIB_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
set(XYGRIB_VERSION_DATE "2018-11-16")
set(XYGRIB_VERSION_DATE "2018-12-24")

set(CMAKE_VERBOSE_MAKEFILE ON)

Expand Down
3 changes: 3 additions & 0 deletions src/Terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,9 @@ void Terrain::setSpecialZone (double x0, double y0, double x1, double y1)
specialZoneY0 = y0;
specialZoneX1 = x1;
specialZoneY1 = y1;

// we need to show the special zone after selecting it
zoomOnZone(x0, y0, x1, y1);
}

//---------------------------------------------------------
Expand Down

0 comments on commit 9185158

Please sign in to comment.