Fix T46891: Error removing PropertyGroup
This commit is contained in:
parent
c1f05c30f9
commit
a149a6784b
Notes:
blender-bot
2023-02-14 08:24:08 +01:00
Referenced by issue #46891, Unable to remove API Defined Custom Property (PropertyGroup).
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue