[GRASS-SVN] r70029 - grass/trunk/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 7 05:54:44 PST 2016


Author: annakrat
Date: 2016-12-07 05:54:44 -0800 (Wed, 07 Dec 2016)
New Revision: 70029

Modified:
   grass/trunk/gui/wxpython/nviz/wxnviz.py
Log:
wxGUI/nviz: fix #3219

Modified: grass/trunk/gui/wxpython/nviz/wxnviz.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/wxnviz.py	2016-12-07 10:24:08 UTC (rev 70028)
+++ grass/trunk/gui/wxpython/nviz/wxnviz.py	2016-12-07 13:54:44 UTC (rev 70029)
@@ -50,6 +50,7 @@
 
 from core.debug import Debug
 from core.utils import _, autoCropImageFromFile
+from core.gcmd import EncodeString
 import grass.script as grass
 
 log = None
@@ -1832,6 +1833,7 @@
         """
         widthOrig = self.width
         heightOrig = self.height
+        filename = EncodeString(filename)
 
         self.ResizeWindow(width, height)
         GS_clear(Nviz_get_bgcolor(self.data))



More information about the grass-commit mailing list