projects
/
blender-staging.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Scrollbars for the console (use View2D functions)
[blender-staging.git]
/
source
/
blender
/
windowmanager
/
intern
/
wm.c
diff --git
a/source/blender/windowmanager/intern/wm.c
b/source/blender/windowmanager/intern/wm.c
index 6b3b128d34b3a74b3c5744a9a41b623e7447cd39..94200925a028a55d8eb26cfbffc7ccdcaaa292f0 100644
(file)
--- a/
source/blender/windowmanager/intern/wm.c
+++ b/
source/blender/windowmanager/intern/wm.c
@@
-98,7
+98,7
@@
void wm_operator_register(bContext *C, wmOperator *op)
/* Report the string representation of the operator */
buf = WM_operator_pystring(op);
- BKE_report(
wm->reports
, RPT_OPERATOR, buf);
+ BKE_report(
CTX_wm_reports(C)
, RPT_OPERATOR, buf);
MEM_freeN(buf);
/* so the console is redrawn */