Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / windowmanager / intern / wm.c
index 38cf39c..85f8a64 100644 (file)
@@ -69,7 +69,7 @@ void WM_operator_free(wmOperator *op)
                MEM_freeN(op->properties);
        }
 
-       if(op->reports && (op->flag & OPERATOR_REPORT_FREE)) {
+       if(op->reports) {
                BKE_reports_clear(op->reports);
                MEM_freeN(op->reports);
        }
@@ -108,7 +108,7 @@ void wm_operator_register(bContext *C, wmOperator *op)
        MEM_freeN(buf);
        
        /* so the console is redrawn */
-       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_CONSOLE_REPORT, NULL);
+       WM_event_add_notifier(C, NC_CONSOLE|ND_CONSOLE_REPORT, NULL);
 }