[GRASS-SVN] r65299 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 21 09:34:20 PDT 2015
Author: martinl
Date: 2015-05-21 09:34:20 -0700 (Thu, 21 May 2015)
New Revision: 65299
Modified:
grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: don't modify render cmd, standalone monitors currently compares render commands
Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py 2015-05-21 09:25:49 UTC (rev 65298)
+++ grass/trunk/gui/wxpython/core/render.py 2015-05-21 16:34:20 UTC (rev 65299)
@@ -361,13 +361,14 @@
env_cmd = env.copy()
env_cmd['GRASS_RENDER_FILE'] = self.layer.mapfile
-
- cmd[1]['quiet'] = True # be quiet
+
+ cmd_render = copy.deepcopy(cmd)
+ cmd_render[1]['quiet'] = True # be quiet
# for k, v in env_cmd.iteritems():
# if 'GRASS_' in k:
# print 'export %s=%s' % (k, v)
self._startTime = time.time()
- self.thread.Run(callable=self._render, cmd=cmd, env=env_cmd,
+ self.thread.Run(callable=self._render, cmd=cmd_render, env=env_cmd,
ondone=self.OnRenderDone)
self.layer.forceRender = False
More information about the grass-commit
mailing list