Add Toggle System Console entry to Help menu on Windows systems.
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 22:37:21 +0000 (22:37 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 22:37:21 +0000 (22:37 +0000)
release/scripts/ui/space_info.py

index b0e8dbab0b34fa1d9b9b83bc7001ff85e95af31b..d9ddc4a470b1e4ff9a6007b25c1e2c08c563163e 100644 (file)
@@ -347,6 +347,9 @@ class INFO_MT_help(bpy.types.Menu):
         layout.operator("help.operator_cheat_sheet", icon='TEXT')
         layout.operator("wm.sysinfo", icon='TEXT')
         layout.separator()
+        if bpy.app.build_platform[0:7] == 'Windows':
+            layout.operator("wm.toggle_console", icon='CONSOLE')
+            layout.separator()
         layout.operator("anim.update_data_paths", text="FCurve/Driver 2.54 fix", icon='HELP')
         layout.separator()
         layout.operator("wm.splash")