[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24354] trunk/blender/source/blender/ editors/space_console/space_console.c: only run the banner function for console (not reports)

Campbell Barton ideasman42 at gmail.com
Thu Nov 5 17:30:18 CET 2009


Revision: 24354
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24354
Author:   campbellbarton
Date:     2009-11-05 17:30:18 +0100 (Thu, 05 Nov 2009)

Log Message:
-----------
only run the banner function for console (not reports)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_console/space_console.c

Modified: trunk/blender/source/blender/editors/space_console/space_console.c
===================================================================
--- trunk/blender/source/blender/editors/space_console/space_console.c	2009-11-05 15:59:14 UTC (rev 24353)
+++ trunk/blender/source/blender/editors/space_console/space_console.c	2009-11-05 16:30:18 UTC (rev 24354)
@@ -164,7 +164,7 @@
 	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 */





More information about the Bf-blender-cvs mailing list