[GRASS-SVN] r65326 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 26 05:48:08 PDT 2015


Author: martinl
Date: 2015-05-26 05:48:08 -0700 (Tue, 26 May 2015)
New Revision: 65326

Modified:
   grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: render query layers when added

Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py	2015-05-26 12:32:38 UTC (rev 65325)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py	2015-05-26 12:48:08 UTC (rev 65326)
@@ -1047,10 +1047,10 @@
         if addLayer:
             if useId:
                 return self.Map.AddLayer(ltype = 'vector', name = globalvar.QUERYLAYER, command = cmd,
-                                         active = True, hidden = True, opacity = 1.0)
+                                         active = True, hidden = True, opacity = 1.0, render = True)
             else:
                 return self.Map.AddLayer(ltype = 'command', name = globalvar.QUERYLAYER, command = cmd,
-                                         active = True, hidden = True, opacity = 1.0)
+                                         active = True, hidden = True, opacity = 1.0, render = True)
         else:
             return cmd
 



More information about the grass-commit mailing list