You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Processing] Allow "progress" to be specified when calling processing.runalg
This is mostly so that algorithms executed in Processing scripts can
display messages in the same way as if they were executed directly from
Processing toolbox.
Also fixes a small issue with busy cursor being reset too early when
algorithms were executed from Processing scripts.
QgsMessageLog.logMessage(Processing.tr('Unable to execute algorithm\n{0}').format(msg), Processing.tr("Processing"))
331
339
return
332
340
333
341
ifnotalg.checkInputCRS():
342
+
print'Warning: Not all input layers use the same CRS.\n' \
343
+
+'This can cause unexpected results.'
334
344
QgsMessageLog.logMessage(Processing.tr('Warning: Not all input layers use the same CRS.\nThis can cause unexpected results.'), Processing.tr("Processing"))
335
345
336
346
ififaceisnotNone:
337
347
# Don't set the wait cursor twice, because then when you
0 commit comments