Fixing a blenderplayer compile error reported by Meino Christian Cramer:
authorWillian Padovani Germano <wpgermano@gmail.com>
Fri, 16 Jul 2004 06:00:40 +0000 (06:00 +0000)
committerWillian Padovani Germano <wpgermano@gmail.com>
Fri, 16 Jul 2004 06:00:40 +0000 (06:00 +0000)
commit376468d383791413ebdfaa311a8283d241eb6a1c
tree6184b63590e28115d92a1c1625b24f66e1543ce7
parent97bba404fbf97d247d0b6623c7a38f46247afddb
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!).
source/blender/blenkernel/bad_level_call_stubs/stubs.c
source/blender/python/api2_2x/Image.c