Cleanup: remove redundant imports

The module was importing it's own functions.
This commit is contained in:
2021-08-09 15:02:31 +10:00
parent 8830cfe541
commit eb165f574b

View File

@@ -754,12 +754,10 @@ def register_classes_factory(classes):
which simply registers and unregisters a sequence of classes.
"""
def register():
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister():
from bpy.utils import unregister_class
for cls in reversed(classes):
unregister_class(cls)