def sv_clean(scene):
    """
    Cleanup callbacks, clean dicts.
    """
    bgl_callback_nodeview.callback_disable_all()
    bgl_callback_3dview.callback_disable_all()

    data_structure.sv_Vars = {}
    data_structure.temp_handle = {}
Example #2
0
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()
    nodeview_bgl_viewer_draw_mk2.callback_disable_all()
    bgl_callback_3dview.callback_disable_all()

    data_structure.sv_Vars = {}
    data_structure.temp_handle = {}
Example #3
0
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()
    nodeview_bgl_viewer_draw_mk2.callback_disable_all()
    bgl_callback_3dview.callback_disable_all()

    data_structure.sv_Vars = {}
    data_structure.temp_handle = {}