diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2019-05-24 11:45:13 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2019-05-24 11:45:13 +0300 |
commit | 230180cf28f22acb03d2d89b77329c76417ef848 (patch) | |
tree | 9251a8705f98887d241e19a9f2b112100274c8f9 /system_property_chart.py | |
parent | dccb34a6395db94999c8416552a8b3e479697b31 (diff) |
system_property_chart: initial update 2.8
Diffstat (limited to 'system_property_chart.py')
-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 |