Go to file
Campbell Barton 0e3d637ad0 Change region drawing callbacks to work much closer to how blender manages them internally.
- yes, this does break scripts, but the api is marked experimental.


ED_region_draw_cb_activate() adds a callback to a region type whereas the api made it look like the callback was being added to the region instance.
Use a class method on bpy.types.Space to manage region drawing, eg.

was:
  self._handle = context.region.callback_add(draw_callback_px, args, 'POST_PIXEL')

is now:
  self._handle = bpy.types.SpaceView3D.draw_handler_add(draw_callback_px, args, 'WINDOW', 'POST_PIXEL')
2012-12-20 13:29:58 +00:00
build_files Scons / Windows Release Builds: 2012-12-20 08:54:37 +00:00
doc update api changelog 2012-12-11 02:13:42 +00:00
extern Camera tracking: synchronize changes with own branch 2012-12-20 11:03:39 +00:00
intern Bug fix #28915 and #33538 2012-12-20 12:01:15 +00:00
release Change region drawing callbacks to work much closer to how blender manages them internally. 2012-12-20 13:29:58 +00:00
source Change region drawing callbacks to work much closer to how blender manages them internally. 2012-12-20 13:29:58 +00:00
CMakeLists.txt CMake: on linux, make boost now always require multithreaded libs, disabling 2012-12-13 08:46:07 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile code cleanup: comment unused members of bmesh operator slots and some osl style edits. 2012-11-20 14:31:58 +00:00
SConstruct Icons now draw good again! 2012-12-18 19:35:54 +00:00