diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-04 14:13:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-04 14:13:04 +0400 |
commit | 265cdf29fb62a6dc437ccafddc33045e5b32f9cf (patch) | |
tree | a9023cafe5b5c0e56b437ec258d3005b773326bd /release/scripts/startup/bl_ui/space_text.py | |
parent | dfa3a6fc84dc6a4ffc1040f24e85a93e5058dde5 (diff) |
fix [#26754] Live Edit and Editing UI scripts don't work
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index d21d6952023..3d3fc8499af 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -297,3 +297,6 @@ class TEXT_MT_toolbox(bpy.types.Menu): layout.separator() layout.operator("text.run_script") + +if __name__ == "__main__": # only for live edit. + bpy.utils.register_module(__name__) |