diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-20 14:11:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-20 14:11:42 +0400 |
commit | 224607982ad664eaccfd703cff105eb6393b2d3e (patch) | |
tree | 84e9be425456ff192535b1caf992fd51daa2b842 /release/scripts | |
parent | c282178411a07fbca859885bd3e674e186756695 (diff) |
Python api access to obcolor
Option to copy obcolor in the copy menu
Option to select same color in select grouped menu
console.py - mistake in last commit caused a python error
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/console.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/console.py b/release/scripts/console.py index cc1788ce24c..0e46f41f581 100644 --- a/release/scripts/console.py +++ b/release/scripts/console.py @@ -417,8 +417,8 @@ def handle_event(evt, val): histIndex = -1 # When wrapping allow 1 plank lines - if cmdBuffer[-1].cmd != '': - cmdBuffer[-1].cmd = '' + if cmdBuffer[-1].cmd != ' ': + cmdBuffer[-1].cmd = ' ' return histIndex_orig = histIndex @@ -437,8 +437,8 @@ def handle_event(evt, val): histIndex = -len(cmdBuffer) # When wrapping allow 1 plank lines - if cmdBuffer[-1].cmd != '': - cmdBuffer[-1].cmd = '' + if cmdBuffer[-1].cmd != ' ': + cmdBuffer[-1].cmd = ' ' return histIndex_orig = histIndex |