Skip to content

Commit 3a51426

Browse files
committed
[processing] remove nviz algorithm from modeller (fix #9107)
1 parent 04542a9 commit 3a51426

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

python/plugins/processing/algs/grass/nviz.py

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ class nviz(GeoAlgorithm):
5252
GRASS_REGION_EXTENT_PARAMETER = 'GRASS_REGION_PARAMETER'
5353
GRASS_REGION_CELLSIZE_PARAMETER = 'GRASS_REGION_CELLSIZE_PARAMETER'
5454

55+
def __init__(self):
56+
GeoAlgorithm.__init__(self)
57+
self.showInModeler = False
58+
5559
def getIcon(self):
5660
return QIcon(os.path.join(pluginPath, 'images', 'grass.png'))
5761

python/plugins/processing/algs/grass7/nviz7.py

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ class nviz7(GeoAlgorithm):
5252
GRASS_REGION_EXTENT_PARAMETER = 'GRASS_REGION_PARAMETER'
5353
GRASS_REGION_CELLSIZE_PARAMETER = 'GRASS_REGION_CELLSIZE_PARAMETER'
5454

55+
def __init__(self):
56+
GeoAlgorithm.__init__(self)
57+
self.showInModeler = False
58+
5559
def getIcon(self):
5660
return QtGui.QIcon(os.path.join(pluginPath, 'images', 'grass.png'))
5761

0 commit comments

Comments
 (0)