Skip to content

Commit

Permalink
Don't initialize project provider from qgis_process -- project
Browse files Browse the repository at this point in the history
models can't be called from qgis_process anyway
  • Loading branch information
nyalldawson committed Dec 7, 2023
1 parent ae7a45e commit 8eef4f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/core/Processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ def perform_deferred_model_initialization():
return

# Add the model providers
# note that we don't add the Project Provider, as this cannot be called
# from qgis_process
model_providers = [
ModelerAlgorithmProvider,
ProjectProvider
ModelerAlgorithmProvider
]

for c in model_providers:
Expand Down

0 comments on commit 8eef4f4

Please sign in to comment.