diff options
author | Doug Hammond <doughammond@hamsterfight.co.uk> | 2011-02-02 03:42:00 +0300 |
---|---|---|
committer | Doug Hammond <doughammond@hamsterfight.co.uk> | 2011-02-02 03:42:00 +0300 |
commit | 4607d269b61cb59b5c739d0984975bd746fe9bc6 (patch) | |
tree | e61d3b443d663289764b4fd433e206bfb3d0f1c8 /modules/extensions_framework/plugin.py | |
parent | 8f05717165bce91a645c2929ac141724d6ae2fa8 (diff) |
extensions_framework: disable broken plugin.uninstall method
Diffstat (limited to 'modules/extensions_framework/plugin.py')
-rw-r--r-- | modules/extensions_framework/plugin.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/extensions_framework/plugin.py b/modules/extensions_framework/plugin.py index 76f41930..27b45871 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__) |