diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-30 03:03:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-30 03:03:49 +0300 |
commit | a149a6784be06b689d772ec3010d865ff3405d2b (patch) | |
tree | e0909544da94fae0d78d56a16a9e8756e6b82738 /release/scripts/modules/rna_prop_ui.py | |
parent | c1f05c30f9282620bcb7c6c9fec4eeb8f262e207 (diff) |
Fix T46891: Error removing PropertyGroup
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index 195b5767189..c0d92c331b7 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -41,7 +41,8 @@ def rna_idprop_ui_del(item): def rna_idprop_ui_prop_update(item, prop): prop_rna = item.path_resolve("[\"%s\"]" % prop.replace("\"", "\\\""), False) - prop_rna.update() + if isinstance(prop_rna, bpy.types.bpy_prop): + prop_rna.update() def rna_idprop_ui_prop_get(item, prop, create=True): |