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

Anna Petrasova noreply at github.com
Sat Sep 5 12:51:29 PDT 2020


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: a489c8369d533bc8b3f4a9f4852ccde8a98b3fea
      https://github.com/OSGeo/grass/commit/a489c8369d533bc8b3f4a9f4852ccde8a98b3fea
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2020-09-05 (Sat, 05 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