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:
authorCampbell Barton <ideasman42@gmail.com>2014-05-16 15:25:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-16 15:25:48 +0400
commit3e38be0000ca73315dc3112811687c20d82dfa2f (patch)
tree4e11b4859ecf1d5b4366a0c11c850c46cc3a4aaf /source/blender/windowmanager/intern
parent03526232d91f4c6672c39ea4c63f5ffd868dcb32 (diff)
Fix T40202: File selector operators not reported in info view
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 730934e1f46..c9855ccaa3b 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -1721,10 +1721,6 @@ static int wm_handler_fileselect_do(bContext *C, ListBase *handlers, wmEventHand
if (handler->op->type->flag & OPTYPE_UNDO && CTX_wm_manager(C) == wm)
wm->op_undo_depth--;
- if (retval & OPERATOR_FINISHED)
- if (G.debug & G_DEBUG_WM)
- wm_operator_print(C, handler->op);
-
/* XXX check this carefully, CTX_wm_manager(C) == wm is a bit hackish */
if (CTX_wm_manager(C) == wm && wm->op_undo_depth == 0)
if (handler->op->type->flag & OPTYPE_UNDO)
@@ -1754,6 +1750,9 @@ static int wm_handler_fileselect_do(bContext *C, ListBase *handlers, wmEventHand
CTX_wm_region_set(C, ar_prev);
}
+ /* for WM_operator_pystring only, custom report handling is done above */
+ wm_operator_reports(C, handler->op, retval, true);
+
if (retval & OPERATOR_FINISHED) {
WM_operator_last_properties_store(handler->op);
}