[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23449] trunk/blender/source/blender/ editors/space_console/space_console.c: fix for [#19437] Console (Python): first run doesn't have the ">>>"
Campbell Barton
ideasman42 at gmail.com
Thu Sep 24 13:37:37 CEST 2009
Revision: 23449
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23449
Author: campbellbarton
Date: 2009-09-24 13:37:33 +0200 (Thu, 24 Sep 2009)
Log Message:
-----------
fix for [#19437] Console (Python): first run doesn't have the ">>>"
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-09-24 10:46:52 UTC (rev 23448)
+++ trunk/blender/source/blender/editors/space_console/space_console.c 2009-09-24 11:37:33 UTC (rev 23449)
@@ -174,6 +174,9 @@
console_scrollback_add_str(C, "Autocomplete: Ctrl+Space", 0);
console_scrollback_add_str(C, "Ctrl +/- Wheel: Zoom", 0);
console_scrollback_add_str(C, "Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.ui", 0);
+
+ /* This is normally set by python but to start with its easier just to set it like this rather then running python with no args */
+ strcpy(sc->prompt, ">>> ");
}
/* clear and setup matrix */
More information about the Bf-blender-cvs
mailing list