diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-16 10:00:40 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-16 10:00:40 +0400 |
commit | 376468d383791413ebdfaa311a8283d241eb6a1c (patch) | |
tree | 6184b63590e28115d92a1c1625b24f66e1543ce7 /source/blender/blenkernel/bad_level_call_stubs | |
parent | 97bba404fbf97d247d0b6623c7a38f46247afddb (diff) |
Fixing a blenderplayer compile error reported by Meino Christian Cramer:
- added mainqenter to stubs.c so it can be used in blender/blenkernel/intern/blender.c's setup_app_data.
We can't run the onload scriptlink in setup_app_data because the visible areas won't have been updated and redrawn for the loaded .blend file until control returns to screenmain() in blender/src/editscreen.c. So an ONLOAD_SCRIPT event is entered in setup_app_data and caught in screenmain, where the onload script is then executed. All for a good looking demo mode ...
BPython:
- Added image.getBindCode() method, contributed by Andrew Corrigan (thanks!).
Diffstat (limited to 'source/blender/blenkernel/bad_level_call_stubs')
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index 50fe29d1eec..ada7692b014 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -72,6 +72,9 @@ void build_seqar(struct ListBase *seqbase, struct Sequence ***seqar, int *totse *totseq = 0; } +/* blender.c */ +void mainqenter (unsigned short event, short val){} + void BPY_do_pyscript(ID *id, short int event){} void BPY_clear_script(Script *script){} void BPY_free_compiled_text(struct Text *text){} |