diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-28 17:40:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-28 17:42:08 +0300 |
commit | 66328c0f4fe7d1a2e0f524e3b45fb947f8266f81 (patch) | |
tree | daabfe4440e38f96f5e87082fbe7e903a10a7bfe /release/scripts | |
parent | 47bb3c5d5d0d8f1a2eb27211eba863d065516e0a (diff) |
Console: remove shortcuts from console splash
Menu items can be used to find shortcuts instead of keeping
keymap items here.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/console_python.py | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py index f264de5b140..5106010b555 100644 --- a/release/scripts/modules/console_python.py +++ b/release/scripts/modules/console_python.py @@ -341,23 +341,20 @@ def banner(context): sc = context.space_data version_string = sys.version.strip().replace('\n', ' ') - add_scrollback("PYTHON INTERACTIVE CONSOLE %s" % version_string, 'OUTPUT') - add_scrollback("", 'OUTPUT') - add_scrollback("Command History: Up/Down Arrow", 'OUTPUT') - add_scrollback("Cursor: Left/Right Home/End", 'OUTPUT') - add_scrollback("Remove: Backspace/Delete", 'OUTPUT') - add_scrollback("Execute: Enter", 'OUTPUT') - add_scrollback("Autocomplete: Ctrl-Space", 'OUTPUT') - add_scrollback("Zoom: Ctrl +/-, Ctrl-Wheel", 'OUTPUT') - add_scrollback("Builtin Modules: bpy, bpy.data, bpy.ops, " - "bpy.props, bpy.types, bpy.context, bpy.utils, " - "bgl, blf, mathutils", - 'OUTPUT') - add_scrollback("Convenience Imports: from mathutils import *; " - "from math import *", 'OUTPUT') - add_scrollback("Convenience Variables: C = bpy.context, D = bpy.data", - 'OUTPUT') - add_scrollback("", 'OUTPUT') + message = ( + "PYTHON INTERACTIVE CONSOLE %s" % version_string, + "", + "Builtin Modules: " + "bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils", + + "Convenience Imports: from mathutils import *; from math import *", + "Convenience Variables: C = bpy.context, D = bpy.data", + "", + ) + + for line in message: + add_scrollback(line, 'OUTPUT') + sc.prompt = PROMPT return {'FINISHED'} |