[GRASS-dev] [GRASS GIS] #2088: G7: digitizer python error

GRASS GIS trac at osgeo.org
Fri Feb 7 12:06:28 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 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)

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2088#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list