forked from bartvdbraak/blender
0e3d637ad0
- 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') |
||
---|---|---|
.. | ||
addon_add_object.py | ||
background_job.py | ||
batch_export.py | ||
bmesh_simple_editmode.py | ||
bmesh_simple.py | ||
builtin_keyingset.py | ||
driver_functions.py | ||
gamelogic_module.py | ||
gamelogic_simple.py | ||
gamelogic.py | ||
operator_file_export.py | ||
operator_file_import.py | ||
operator_mesh_add.py | ||
operator_modal_draw.py | ||
operator_modal_timer.py | ||
operator_modal_view3d_raycast.py | ||
operator_modal_view3d.py | ||
operator_modal.py | ||
operator_node.py | ||
operator_simple.py | ||
operator_uv.py | ||
script_stub.py | ||
ui_menu_simple.py | ||
ui_menu.py | ||
ui_panel_simple.py | ||
ui_panel.py |