[GRASS-SVN] r70030 - grass/branches/releasebranch_7_2/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 7 05:57:46 PST 2016
Author: annakrat
Date: 2016-12-07 05:57:45 -0800 (Wed, 07 Dec 2016)
New Revision: 70030
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/nviz/wxnviz.py
Log:
wxGUI/nviz: fix #3219 (merge from trunk, r70029)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/nviz/wxnviz.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/nviz/wxnviz.py 2016-12-07 13:54:44 UTC (rev 70029)
+++ grass/branches/releasebranch_7_2/gui/wxpython/nviz/wxnviz.py 2016-12-07 13:57:45 UTC (rev 70030)
@@ -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