Skip to content

Commit

Permalink
[processing] remove nviz algorithm from modeller (fix #9107)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 12, 2016
1 parent 04542a9 commit 3a51426
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/processing/algs/grass/nviz.py
Expand Up @@ -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'))

Expand Down
4 changes: 4 additions & 0 deletions python/plugins/processing/algs/grass7/nviz7.py
Expand Up @@ -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'))

Expand Down

0 comments on commit 3a51426

Please sign in to comment.