[GRASS-git] [OSGeo/grass] cfc27f: wxGUI/nviz: fix reopening 3D by reloading layers (...

Anna Petrasova noreply at github.com
Wed Sep 2 05:48:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: cfc27fae98b75c716eee5712d52b6b5333dfce2e
      https://github.com/OSGeo/grass/commit/cfc27fae98b75c716eee5712d52b6b5333dfce2e
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M gui/wxpython/mapdisp/frame.py
    M gui/wxpython/nviz/mapwindow.py

  Log Message:
  -----------
  wxGUI/nviz: fix reopening 3D by reloading layers (#953)

When reopening 3D second time, the layer dictionary doesn't have 'object' yet, but it assumed to be complete by 3D GUI in lmgr (tools.py). Explicit reloading of layers before the tools.py are ready should address this. Normally that's done automatically when GLWindow is created, but 2nd time it is only showed (was hidden) and reloading doesn't happen automatically.




More information about the grass-commit mailing list