diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-13 05:54:28 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-13 05:54:28 +0400 |
commit | b9f6d66328b8b96d4f1fe29f761a99fbe531c4de (patch) | |
tree | f20e0d83b867bef9d5aa0009802e1cc486f0c5dd /source/blender/python/BPY_extern.h | |
parent | eca049b177e08a0b8a182cc373e2ae225f7f8a11 (diff) |
* Added 3 missing functions, 2 of them called by blender/src/drawtext.c:
Callbacks registered with Draw.Register in Python are called now.
That should fix submodule Blender.Draw.
* Added a few other missing functions to BPY_interface.c
* Finished implementing Get() function for Camera, Lamp, Image and Text:
Both the .Get(name) and .Get() cases are handled now.
* Added function Blender.ReleaseGlobalDict():
This function should give script writers control over whether the
global Python Interpreter Dict should be cleared after the script is
run (default is to clear). This is a test.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index b2747ef0ce6..2af7edc835e 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -25,11 +25,15 @@ * * The Original Code is: source/blender/bpyton/include/BPY_extern.h * - * Contributor(s): Michel Selten + * Contributor(s): Michel Selten, Willian P. Germano * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +/* Global to control whether the global dictionary should be preserved or not + * each time a script is executed by the Python Interpreter: */ +extern short EXPP_releaseGlobalDict; /* defaults to TRUE */ + struct Text; /* defined in DNA_text_types.h */ struct ID; /* defined in DNA_ID.h */ struct ScriptLink; /* defined in DNA_scriptlink_types.h */ @@ -57,7 +61,9 @@ void BPY_copy_scriptlink(struct ScriptLink *scriptlink); /* format importer hook */ int BPY_call_importloader(char *name); +/* XXX The 3 functions below are implemented in Draw.c */ +/* int BPY_spacetext_is_pywin(struct SpaceText *st); void BPY_spacetext_do_pywin_draw(struct SpaceText *st); void BPY_spacetext_do_pywin_event(struct SpaceText *st, unsigned short event, short val); - +*/ |