Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-12-21 17:08:58 +0300
committerTon Roosendaal <ton@blender.org>2010-12-21 17:08:58 +0300
commit3d1896bc6deb8c5f3a03af374de731e3be54bb2d (patch)
tree00c9ba03d406ffbcafe52357307921dad8ca87ef /source/blender/windowmanager
parent70064914512216d0dfdab4e2ccbdaca2387bd450 (diff)
Macro Operators now pass on reports to the Mother Op!
(errors for macros were not shown)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index cfd8a9256be..9ab8f08fba4 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -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 */