[GRASS-SVN] r43152 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 16 14:39:48 EDT 2010
Author: martinl
Date: 2010-08-16 18:39:48 +0000 (Mon, 16 Aug 2010)
New Revision: 43152
Modified:
grass/trunk/gui/wxpython/gui_modules/wxnviz.py
Log:
fix r43151
Modified: grass/trunk/gui/wxpython/gui_modules/wxnviz.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxnviz.py 2010-08-16 18:38:17 UTC (rev 43151)
+++ grass/trunk/gui/wxpython/gui_modules/wxnviz.py 2010-08-16 18:39:48 UTC (rev 43152)
@@ -27,11 +27,6 @@
from grass.lib.ogsf import *
from grass.lib.nviz import *
-errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
-errfunc = errtype(print_error)
-pertype = CFUNCTYPE(UNCHECKED(c_int), c_int)
-perfunc = pertype(print_progress)
-
from debug import Debug
log = None
@@ -57,6 +52,11 @@
return 0
+errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
+errfunc = errtype(print_error)
+pertype = CFUNCTYPE(UNCHECKED(c_int), c_int)
+perfunc = pertype(print_progress)
+
class Nviz(object):
def __init__(self, glog, gprogress):
"""!Initialize Nviz class instance
More information about the grass-commit
mailing list