from gp_interpolate.parent_layer import (operators, # properties, ) modules = ( # properties, operators, ) 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()