diff --git a/python/plugins/processing/algs/grass/nviz.py b/python/plugins/processing/algs/grass/nviz.py index 33be878f86d..9f5e0cca263 100644 --- a/python/plugins/processing/algs/grass/nviz.py +++ b/python/plugins/processing/algs/grass/nviz.py @@ -52,6 +52,10 @@ class nviz(GeoAlgorithm): GRASS_REGION_EXTENT_PARAMETER = 'GRASS_REGION_PARAMETER' GRASS_REGION_CELLSIZE_PARAMETER = 'GRASS_REGION_CELLSIZE_PARAMETER' + def __init__(self): + GeoAlgorithm.__init__(self) + self.showInModeler = False + def getIcon(self): return QIcon(os.path.join(pluginPath, 'images', 'grass.png')) diff --git a/python/plugins/processing/algs/grass7/nviz7.py b/python/plugins/processing/algs/grass7/nviz7.py index 5f009dfcd7e..018440ff9ef 100644 --- a/python/plugins/processing/algs/grass7/nviz7.py +++ b/python/plugins/processing/algs/grass7/nviz7.py @@ -52,6 +52,10 @@ class nviz7(GeoAlgorithm): GRASS_REGION_EXTENT_PARAMETER = 'GRASS_REGION_PARAMETER' GRASS_REGION_CELLSIZE_PARAMETER = 'GRASS_REGION_CELLSIZE_PARAMETER' + def __init__(self): + GeoAlgorithm.__init__(self) + self.showInModeler = False + def getIcon(self): return QtGui.QIcon(os.path.join(pluginPath, 'images', 'grass.png'))