diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-01 19:46:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-01 19:46:21 +0300 |
commit | 99c981fd0647188184b67ab777a3c2ecb2ae68df (patch) | |
tree | 41e111e59cca3233d09de353f48d1c4a0e47d19d /release | |
parent | 083a8921ec6bfca8e64a94fe98289b206066d796 (diff) |
Cleanup: Remove redundant property UI data clear
Since the UI data is now stored in the property, and the property is
deleted on the next line, this doesn't need to be called separately.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index f975176a1e2..379845f08a2 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1388,7 +1388,6 @@ class WM_OT_properties_edit(Operator): def execute(self, context): from rna_prop_ui import ( - rna_idprop_ui_prop_clear, rna_idprop_ui_prop_update, rna_idprop_value_item_type, ) @@ -1415,7 +1414,7 @@ class WM_OT_properties_edit(Operator): prop_type_old = type(item[prop_old]) - rna_idprop_ui_prop_clear(item, prop_old) + # Deleting the property will also remove the UI data del item[prop_old] # Reassign |