PyAPI: remove bpy.utils.register_module()

In preparation for it being removed, see: T47811
This commit is contained in:
2017-03-18 20:03:24 +11:00
parent 2fbc50e4c1
commit 9bdda427e6
79 changed files with 1367 additions and 81 deletions

View File

@@ -135,5 +135,16 @@ class DATA_PT_custom_props_metaball(DataButtonsPanel, PropertyPanel, Panel):
_context_path = "object.data"
_property_type = bpy.types.MetaBall
classes = (
DATA_PT_context_metaball,
DATA_PT_custom_props_metaball,
DATA_PT_mball_texture_space,
DATA_PT_metaball,
DATA_PT_metaball_element,
)
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)
from bpy.utils import register_class
for cls in classes:
register_class(cls)