diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-20 12:16:46 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-20 12:16:46 +0400 |
commit | 7b3b3ae432f692ed32f57aa70bdab5b89a05be21 (patch) | |
tree | 5cb77a8ba082858798b6312a8b6d20824abaaf53 /source/blender/python/BPY_extern.h | |
parent | 9bf16550706c7fdf22d6d76b0e5a41ec3b538fbc (diff) |
Trying to fix bug reported by Peter den Bak and Meino Christian Cramer (thanks!):
-- splash screen disappeared (duh, I did that!) and Blender quits upon exiting from some 225 games:
It was troublesome to find how to run demos in general with the screen correctly redrawn before they started, etc. Ended up making the above error in screenmain(). About the games, I don't have them and will need some time to get the files for testing, but I'll do it, though only on linux.
BPython:
-- Window: added GetScreens, SetScreen and improved GetScreenInfo.
-- Object, NMesh: updated (added in NMesh) method getMaterials to return either only valid materials as before or also empty slots (as None). This previous omission can be considered a bug, since it made info about materials incomplete / incompatible with face mat indices. Thanks Yann Vernier for bringing this up and sending/proposing a patch that also fixed a bug related to assigning lists of materials with different lengths to obj and its mesh. setMaterials also accepts Py_None entries now, which become empty slots in Blender.
-- doc updates.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 901f5c5ee4e..f3e4b412435 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -59,6 +59,7 @@ void BPY_free_compiled_text(struct Text* text); /*void BPY_clear_bad_scriptlink(struct ID *id, struct Text *byebye); */ void BPY_clear_bad_scriptlinks(struct Text *byebye); /*void BPY_clear_bad_scriptlist(struct ListBase *, struct Text *byebye); */ +int BPY_has_onload_script(void); void BPY_do_all_scripts(short event); void BPY_do_pyscript(struct ID *id, short event); void BPY_free_scriptlink(struct ScriptLink *slink); |