Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-09-20 14:11:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-09-20 14:11:42 +0400
commit224607982ad664eaccfd703cff105eb6393b2d3e (patch)
tree84e9be425456ff192535b1caf992fd51daa2b842 /release
parentc282178411a07fbca859885bd3e674e186756695 (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')
-rw-r--r--release/scripts/console.py8
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