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

Anna Petrasova noreply at github.com
Wed May 6 18:45:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: bf9618a7bc97f5d957ac620ecdcd28defff3edd1
      https://github.com/OSGeo/grass/commit/bf9618a7bc97f5d957ac620ecdcd28defff3edd1
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2020-05-06 (Wed, 06 May 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