mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix error when trying to run processing algs
Caused by trying to deepcopy a c++ object. This is a temporary fix - when the next part of the processing/c++ work lands algorithm copies will no longer be required
This commit is contained in:
parent
85b38e36eb
commit
0e72fe0591
2
python/plugins/processing/core/GeoAlgorithm.py
Normal file → Executable file
2
python/plugins/processing/core/GeoAlgorithm.py
Normal file → Executable file
@ -82,7 +82,7 @@ class GeoAlgorithm(QgsProcessingAlgorithm):
|
||||
"""Returns a new instance of this algorithm, ready to be used
|
||||
for being executed.
|
||||
"""
|
||||
newone = copy.copy(self)
|
||||
newone = self
|
||||
newone.parameters = copy.deepcopy(self.parameters)
|
||||
newone.outputs = copy.deepcopy(self.outputs)
|
||||
return newone
|
||||
|
Loading…
x
Reference in New Issue
Block a user