[GRASS-git] [OSGeo/grass] 7ce476: wxGUI: fix inconsistent layer sizes during renderi...

Anna Petrasova noreply at github.com
Fri Aug 21 20:43:18 PDT 2020


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 7ce476b623669ce2a2c2b6bdd1ad14ac397b2010
      https://github.com/OSGeo/grass/commit/7ce476b623669ce2a2c2b6bdd1ad14ac397b2010
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2020-08-21 (Fri, 21 Aug 2020)

  Changed paths:
    M gui/wxpython/core/render.py
    M gui/wxpython/core/ws.py

  Log Message:
  -----------
  wxGUI: fix inconsistent layer sizes during rendering (#552)

Passes environment with width and height throughout the rendering process
to ensure consistent size.

Before rendering, checks already rendered layers have consistent size with
new size, if not, forces them to rerender.

After g.pnmcomp during checking vector legend changes, only render when
there is an actual vector legend overlay present.




More information about the grass-commit mailing list