[GRASS-dev] [GRASS GIS] #2088: G7: digitizer python error
GRASS GIS
trac at osgeo.org
Mon Feb 10 11:06:09 PST 2014
#2088: G7: digitizer python error
-------------------------------+--------------------------------------------
Reporter: neteler | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer, python | Platform: Linux
Cpu: x86-64 |
-------------------------------+--------------------------------------------
Comment(by wenzeslaus):
Replying to [comment:6 martinl]:
> Replying to [comment:5 wenzeslaus]:
>
> > This hiding of layers (not showing rendered layers in map window)
happens a lot, especially with vectors. I have no idea what's behind.
>
> I discovered that `CheckItem()` callled in `AddLayer()`
source:grass/trunk/gui/wxpython/lmgr/layertree.py#L1103 causes that
`Map.layers` appears to be empty (even there are maps in layer tree). I
really have no idea why. Anyway `wx.CallAfter()` avoids it (at least it
seems to)
So, r58939 fixed the problem I had which occurred when you used `d.vect`
from Command console in GUI or when vector map was output of some module
(and map was added automatically). Thanks.
I agree that `wx.CallAfter()` is probably workaround for some problem but
there is no other option now.
How about the original reported issue? Can we close the ticket?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2088#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list