Files
test/source/blender/blenkernel
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
..
2012-09-26 20:05:38 +00:00
2012-12-19 14:02:50 +00:00
2012-05-16 23:37:23 +00:00
2012-06-06 22:38:39 +00:00
2012-10-30 11:40:36 +00:00
2012-12-12 18:58:11 +00:00
2012-03-02 16:05:54 +00:00
2012-11-15 15:59:58 +00:00
2012-11-09 09:33:28 +00:00
2012-06-06 22:38:39 +00:00
2012-11-03 15:35:03 +00:00
2012-05-29 10:21:07 +00:00
2012-12-17 08:01:43 +00:00