[Bf-python] 2 interface violations ...
Willian Padovani Germano
wgermano at ig.com.br
Thu Nov 11 18:57:03 CET 2004
Chris Want wrote:
> For the most part calls to the python stuff
> from outside of source/blender/python have
> all gone through the wrapper functions in
> the 2 files BPY_interface.c and BPY_menus.c.
>
> There are two exceptions from this convention:
> BPY_spacescript_do_pywin_draw() and
> BPY_spacescript_do_pywin_event(), which are
> both in source/blender/python/api2_2x/Draw.c.
>
> Maybe these should either be moved to
> BPY_interface.c, or wrapper functions should
> be created for them?
Yes, thanks for pointing. BPY_interface itself should be split in more
files, it's getting too big and should be used only for what its name
suggests. Part of our ongoing work cleaning up bpython.
--
Willian
More information about the Bf-python
mailing list