From 9cdc5c5eb443433d9520d33c2cd477ac693140b1 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 12 Jul 2015 18:39:00 -0400 Subject: [PATCH] Fix modifier registration --- korman/properties/modifiers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/properties/modifiers/__init__.py b/korman/properties/modifiers/__init__.py index dcfaa9c..86b9a5e 100644 --- a/korman/properties/modifiers/__init__.py +++ b/korman/properties/modifiers/__init__.py @@ -57,7 +57,7 @@ class PlasmaModifiers(bpy.types.PropertyGroup): # So, we're going to have to create our base properties on all of the PropertyGroups. # It's times like these that make me wonder about life... # Enjoy! - for i in modifier_definitions(): + for i in PlasmaModifierProperties.__subclasses__(): for name, (prop, kwargs) in PlasmaModifierProperties._subprops.items(): setattr(i, name, prop(**kwargs)) setattr(cls, i.pl_id, bpy.props.PointerProperty(type=i))