Macro Operators now pass on reports to the Mother Op!

(errors for macros were not shown)
This commit is contained in:
2010-12-21 14:08:58 +00:00
parent 7006491451
commit 3d1896bc6d

View File

@@ -229,6 +229,8 @@ int wm_macro_invoke_internal(bContext *C, wmOperator *op, wmEvent *event, wmOper
else if(opm->type->exec)
retval= opm->type->exec(C, opm);
addlisttolist(&op->reports->list, &opm->reports->list);
if (retval & OPERATOR_FINISHED) {
MacroData *md = op->customdata;
md->retval = OPERATOR_FINISHED; /* keep in mind that at least one operator finished */