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-03-01 03:03:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-01 03:03:51 +0300
commitfbb8672da459a027a7dd3ccb798b2f5db1c73c59 (patch)
tree1478a36908c3afb614e75ef7fac605589b7c753b /release/scripts/ui/space_console.py
parentc4f562476806f06a67b807cd03a9419082ae03e3 (diff)
replace operator options bl_undo and bl_register with bl_options
eg. bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'} This didnt exist when operators were originally wrapped.
Diffstat (limited to 'release/scripts/ui/space_console.py')
-rw-r--r--release/scripts/ui/space_console.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/ui/space_console.py b/release/scripts/ui/space_console.py
index 37de6bacad2..512af350a47 100644
--- a/release/scripts/ui/space_console.py
+++ b/release/scripts/ui/space_console.py
@@ -119,7 +119,6 @@ class ConsoleExec(bpy.types.Operator):
'''Execute the current console line as a python expression'''
bl_idname = "console.execute"
bl_label = "Console Execute"
- bl_register = False
def execute(self, context):
sc = context.space_data
@@ -138,7 +137,6 @@ class ConsoleAutocomplete(bpy.types.Operator):
'''Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one'''
bl_idname = "console.autocomplete"
bl_label = "Console Autocomplete"
- bl_register = False
def poll(self, context):
return context.space_data.console_type != 'REPORT'