Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extensions_framework/__init__.py')
-rw-r--r--modules/extensions_framework/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/extensions_framework/__init__.py b/modules/extensions_framework/__init__.py
index 78c6e25a..f8ce0d35 100644
--- a/modules/extensions_framework/__init__.py
+++ b/modules/extensions_framework/__init__.py
@@ -273,7 +273,10 @@ class declarative_property_group(bpy.types.IDPropertyGroup):
class Addon(object):
"""A list of classes registered by this addon"""
- addon_classes = []
+ addon_classes = None
+
+ def __init__(self):
+ self.addon_classes = []
def addon_register_class(self, cls):
"""This method is designed to be used as a decorator on RNA-registerable