|
@@ -49,6 +49,7 @@ from grass.lib.raster import *
|
|
|
|
|
|
from core.debug import Debug
|
|
|
from core.utils import _
|
|
|
+from core.gcmd import EncodeString
|
|
|
import grass.script as grass
|
|
|
|
|
|
log = None
|
|
@@ -1795,6 +1796,7 @@ class Nviz(object):
|
|
|
"""
|
|
|
widthOrig = self.width
|
|
|
heightOrig = self.height
|
|
|
+ filename = EncodeString(filename)
|
|
|
|
|
|
self.ResizeWindow(width, height)
|
|
|
GS_clear(Nviz_get_bgcolor(self.data))
|