def load_handler(dummy): from mmd_tools_local.core.sdef import FnSDEF FnSDEF.clear_cache() FnSDEF.register_driver_function()
def execute(self, context): for i in _get_selected_objects(context): FnSDEF.clear_cache(i) FnSDEF.clear_cache(unused_only=True) return {'FINISHED'}