Skip to content
Snippets Groups Projects
Commit 0b27d3e5 authored by meta-androcto's avatar meta-androcto
Browse files

system_blend_info: update 2.8

parent f3141a0c
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@
bl_info = {
"name": "Scene Information",
"author": "uselessdreamer",
"version": (0,3),
"blender": (2, 59, 0),
"version": (0, 3, 1),
"blender": (2, 80, 0),
"location": "Properties > Scene > Blend Info Panel",
"description": "Show information about the .blend",
"warning": "",
......@@ -198,16 +198,21 @@ class OBJECT_PT_blendinfo(bpy.types.Panel):
row.label(text=quantity_string(num, "Text", "Texts"),
icon='TEXT')
# Register
classes = [
OBJECT_PT_blendinfo
]
def register():
bpy.utils.register_module(__name__)
pass
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister():
bpy.utils.unregister_module(__name__)
from bpy.utils import unregister_class
for cls in reversed(classes):
unregister_class(cls)
pass
if __name__ == "__main__":
register()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment