We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6fb784 commit da3eb06Copy full SHA for da3eb06
python/plugins/processing/modeler/ModelerAlgorithm.py
@@ -491,6 +491,15 @@ def processAlgorithm(self, progress):
491
t0 = time.time()
492
alg.algorithm.execute(progress, self)
493
dt = time.time() - t0
494
+
495
+ # copy algorithm output value(s) back to model in case the algorithm modified those
496
+ for out in alg.algorithm.outputs:
497
+ if not out.hidden:
498
+ if out.name in alg.outputs:
499
+ modelOut = self.getOutputFromName(self.getSafeNameForOutput(alg.name, out.name))
500
+ if modelOut:
501
+ modelOut.value = out.value
502
503
executed.append(alg.name)
504
progress.setDebugInfo(
505
self.tr('OK. Execution took %0.3f ms (%i outputs).', 'ModelerAlgorithm') % (dt, len(alg.algorithm.outputs)))
0 commit comments