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>2010-11-20 08:11:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-20 08:11:10 +0300
commit35014aa741251e79c4cb4dffbe84580789059c5c (patch)
treea28df20a964824edd7be94f605a53330666d8ff4 /release
parent593815b23f1eedbeb959067f08d810f35f9e3633 (diff)
- add python/rna function region.tag_redraw()
- removed print which was before NULL check, (possible crash) - add execute hooks for the python console (not used by any scripts yet)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/op/console_python.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/op/console_python.py b/release/scripts/op/console_python.py
index 7a969cbe9f5..2ce6ede8f76 100644
--- a/release/scripts/op/console_python.py
+++ b/release/scripts/op/console_python.py
@@ -186,9 +186,15 @@ def execute(context):
# restore the stdin
sys.stdin = stdin_backup
+
+ # execute any hooks
+ for func, args in execute.hooks:
+ func(*args)
return {'FINISHED'}
+execute.hooks = []
+
def autocomplete(context):
from console import intellisense