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:
authorDoug Hammond <doughammond@hamsterfight.co.uk>2011-02-12 04:21:34 +0300
committerDoug Hammond <doughammond@hamsterfight.co.uk>2011-02-12 04:21:34 +0300
commit9421fec4db299927dc8c14aa14f5accca773231e (patch)
treeab16e190d0bde31fc9eaff87aecb8469344fec4e /modules
parent1468e5c8cdf2b9ebd148283b520f8414d76382b4 (diff)
extensions_framework: fix initialisation error in new Addon class when used my multiple addons
Diffstat (limited to 'modules')
-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