diff options
-rw-r--r-- | system_property_chart.py | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/system_property_chart.py b/system_property_chart.py index cbe4835a..d4be32d6 100644 --- a/system_property_chart.py +++ b/system_property_chart.py @@ -22,7 +22,7 @@ bl_info = { "name": "Property Chart", "author": "Campbell Barton (ideasman42)", "version": (0, 1), - "blender": (2, 57, 0), + "blender": (2, 80, 0), "location": "Tool Shelf", "description": ("Edit arbitrary selected properties for " "objects/sequence strips of the same type"), @@ -189,7 +189,7 @@ class View3DEditProps(Panel): bl_idname = "SYSPROP_CHART_PT_view3d" bl_space_type = 'VIEW_3D' bl_region_type = 'UI' - + bl_category = "Item" bl_label = "Property Chart" bl_context = "objectmode" @@ -267,9 +267,19 @@ class CopyPropertyChart(Operator): return {'FINISHED'} +# List The Classes # + +classes = ( + AddPresetProperties, + SCENE_MT_properties_presets, + View3DEditProps, + SequencerEditProps, + CopyPropertyChart +) def register(): - bpy.utils.register_module(__name__) + for cls in classes: + bpy.utils.register_class(cls) Scene = bpy.types.Scene @@ -286,7 +296,8 @@ def register(): def unregister(): - bpy.utils.unregister_module(__name__) + for cls in classes: + bpy.utils.unregister_class(cls) Scene = bpy.types.Scene |