[Bf-extensions-cvs] [230180cf] master: system_property_chart: initial update 2.8

meta-androcto noreply at git.blender.org
Fri May 24 10:45:39 CEST 2019


Commit: 230180cf28f22acb03d2d89b77329c76417ef848
Author: meta-androcto
Date:   Fri May 24 18:45:13 2019 +1000
Branches: master
https://developer.blender.org/rBA230180cf28f22acb03d2d89b77329c76417ef848

system_property_chart: initial update 2.8

===================================================================

M	system_property_chart.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list