Skip to content
Permalink
Browse files

Merge pull request #1990 from ricardogsilva/processing_provider_changes

[Processing] Changed default value of argument updateList in Processing.addProvider
  • Loading branch information
volaya committed May 6, 2015
2 parents 410e6f3 + 48e9be9 commit fd7375e6d4486de2013d9b72ad5781aa344407fc
Showing with 13 additions and 13 deletions.
  1. +13 −13 python/plugins/processing/core/Processing.py
@@ -76,7 +76,7 @@ class Processing:
modeler = ModelerAlgorithmProvider()

@staticmethod
def addProvider(provider, updateList=False):
def addProvider(provider, updateList=True):
"""Use this method to add algorithms from external providers.
"""

@@ -127,18 +127,18 @@ def getProviderFromName(name):
@staticmethod
def initialize():
# Add the basic providers
Processing.addProvider(QGISAlgorithmProvider())
Processing.addProvider(ModelerOnlyAlgorithmProvider())
Processing.addProvider(GdalOgrAlgorithmProvider())
Processing.addProvider(LidarToolsAlgorithmProvider())
Processing.addProvider(OTBAlgorithmProvider())
Processing.addProvider(RAlgorithmProvider())
Processing.addProvider(SagaAlgorithmProvider())
Processing.addProvider(GrassAlgorithmProvider())
Processing.addProvider(Grass7AlgorithmProvider())
Processing.addProvider(ScriptAlgorithmProvider())
Processing.addProvider(TauDEMAlgorithmProvider())
Processing.addProvider(Processing.modeler)
Processing.addProvider(QGISAlgorithmProvider(), updateList=False)
Processing.addProvider(ModelerOnlyAlgorithmProvider(), updateList=False)
Processing.addProvider(GdalOgrAlgorithmProvider(), updateList=False)
Processing.addProvider(LidarToolsAlgorithmProvider(), updateList=False)
Processing.addProvider(OTBAlgorithmProvider(), updateList=False)
Processing.addProvider(RAlgorithmProvider(), updateList=False)
Processing.addProvider(SagaAlgorithmProvider(), updateList=False)
Processing.addProvider(GrassAlgorithmProvider(), updateList=False)
Processing.addProvider(Grass7AlgorithmProvider(), updateList=False)
Processing.addProvider(ScriptAlgorithmProvider(), updateList=False)
Processing.addProvider(TauDEMAlgorithmProvider(), updateList=False)
Processing.addProvider(Processing.modeler, updateList=False)
Processing.modeler.initializeSettings()

# And initialize

0 comments on commit fd7375e

Please sign in to comment.
You can’t perform that action at this time.