Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-20 17:29:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-20 17:29:58 +0400
commit0e3d637ad040f55412856d10197f66f166591e49 (patch)
tree1ff87859407f73a72b67834d41085eacb1c33740 /release/environment-macosx
parent80bcc20835cfd328984c3fbc60774d6e6bed6482 (diff)
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')
Diffstat (limited to 'release/environment-macosx')
0 files changed, 0 insertions, 0 deletions