def sv_clean(scene): """ Cleanup callbacks, clean dicts. """ viewer_draw.callback_disable_all() viewer_draw_mk2.callback_disable_all() index_viewer_draw.callback_disable_all() nodeview_bgl_viewer_draw.callback_disable_all() data_structure.sv_Vars = {} data_structure.temp_handle = {}