[Bf-blender-cvs] [6fa6fa2] master: Fix T41284: The python ops log doesn't work.

Bastien Montagne noreply at git.blender.org
Sun Aug 3 21:19:05 CEST 2014


Commit: 6fa6fa2fa243d54fd29f0a29d087c3824d9c88b8
Author: Bastien Montagne
Date:   Sun Aug 3 21:17:24 2014 +0200
Branches: master
https://developer.blender.org/rB6fa6fa2fa243d54fd29f0a29d087c3824d9c88b8

Fix T41284: The python ops log doesn't work.

===================================================================

M	source/blender/editors/util/ed_util.c

===================================================================

diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index 47fbfbe..56b12fc 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -86,7 +86,7 @@ void ED_editors_init(bContext *C)
 
 	/* This is called during initialization, so we don't want to store any reports */
 	ReportList *reports = CTX_wm_reports(C);
-	int reports_flag_prev = reports->flag &= ~RPT_STORE;
+	int reports_flag_prev = reports->flag & ~RPT_STORE;
 
 	SWAP(int, reports->flag, reports_flag_prev);




More information about the Bf-blender-cvs mailing list