PyAPI: remove bpy.utils.register_module()
In preparation for it being removed, see: T47811
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user