diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-05 19:30:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-05 19:30:18 +0300 |
commit | 18e069f4867958cbb77478db0fca63fed0466f4b (patch) | |
tree | 8ef6b52fdec64bd0d67edbb45c4eee0c205dcf63 /source/blender/editors/space_console | |
parent | 0f1e28a13fe28da2eaef47a229f5bd9f192bf2bc (diff) |
only run the banner function for console (not reports)
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r-- | source/blender/editors/space_console/space_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 6774481430a..c6565eb6ecc 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -164,7 +164,7 @@ static void console_main_area_draw(const bContext *C, ARegion *ar) View2DScrollers *scrollers; //float col[3]; - if(sc->scrollback.first==NULL) + if((sc->type==CONSOLE_TYPE_PYTHON) && (sc->scrollback.first==NULL)) WM_operator_name_call((bContext *)C, "CONSOLE_OT_banner", WM_OP_EXEC_DEFAULT, NULL); /* clear and setup matrix */ |