from gp_interpolate.interpolate_strokes import (properties, operators, operators_triangle, debug, bind_points, ) modules = ( properties, operators, operators_triangle, debug, bind_points, ) if "bpy" in locals(): import importlib for mod in modules: importlib.reload(mod) import bpy def register(): for mod in modules: mod.register() def unregister(): for mod in reversed(modules): mod.unregister()