diff --git a/modules/extensions_framework/plugin.py b/modules/extensions_framework/plugin.py index 76f41930fdd8db58503a1d7f962d17d093b00003..27b4587178346990ced998ea2b5943654b764dbc 100644 --- a/modules/extensions_framework/plugin.py +++ b/modules/extensions_framework/plugin.py @@ -86,9 +86,13 @@ class plugin(object): @classmethod def uninstall(r_class): + """TODO: make this work again""" + return + """Unregister property groups in reverse order""" reverse_property_groups = [p for p in r_class.property_groups] reverse_property_groups.reverse() for property_group_parent, property_group in reverse_property_groups: - prototype = getattr(bpy.types, property_group_parent) - prototype.RemoveProperty(property_group.__name__) + if hasattr(bpy.types, property_group_parent): + prototype = getattr(bpy.types, property_group_parent) + prototype.RemoveProperty(property_group.__name__)