23 lines
368 B
Python
23 lines
368 B
Python
|
from gp_interpolate.interpolate_strokes 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()
|