- 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)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user