diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-12-14 04:18:09 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-12-14 04:18:09 +0300 |
commit | 49021f7ec4bfc1313c6cdfeae1f9c32e98cc9cdc (patch) | |
tree | 44e7c4c38bc8c26b5efe0b52b846402589a4ca9a /source/blender/src/spacetypes.c | |
parent | 6653af79142aa929eb3d131f8fced363b2c4b828 (diff) |
BPython - first step for better integration of Python in Blender:
- add a new space: Space Script
- add a new dna struct: Script
- add these two properly everywhere they are meant to
It's not a tiny commit, but most of it is ground work for what is still to be done.
Right now the benefits should be: freeing the Text Editor to be used in a window even while a script w/ gui in "on" and letting more than one currently running script w/ gui be accessible from each window
Some files are added, so some build systems (not autotools) will need updates
Diffstat (limited to 'source/blender/src/spacetypes.c')
-rw-r--r-- | source/blender/src/spacetypes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/spacetypes.c b/source/blender/src/spacetypes.c index 060f00d64a7..1b1f87f6d1b 100644 --- a/source/blender/src/spacetypes.c +++ b/source/blender/src/spacetypes.c @@ -92,6 +92,7 @@ SpaceType *spacetype_from_code(int spacecode) case SPACE_SEQ: return spaceseq_get_type(); case SPACE_SOUND: return spacesound_get_type(); case SPACE_TEXT: return spacetext_get_type(); + case SPACE_SCRIPT:return spacescript_get_type(); case SPACE_VIEW3D: return spaceview3d_get_type(); default: return NULL; |