diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-30 07:33:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-30 07:33:42 +0400 |
commit | 5edbaab4f0c7b7fc589df0fa5285af5d225364e1 (patch) | |
tree | 842bbc2113ac2cb4068d430228fe724aa372b53f /release/scripts/startup/bl_operators | |
parent | a6ebffe182e3867b8a365499c7eb990fb277cbe7 (diff) |
fix [#30729]
custom property add/remove wasnt doing an undo push.
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 977a4c8cde1..198a83c6ea5 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1042,6 +1042,7 @@ class WM_OT_properties_add(Operator): '''Internal use (edit a property data_path)''' bl_idname = "wm.properties_add" bl_label = "Add Property" + bl_options = {'UNDO'} data_path = rna_path @@ -1084,6 +1085,7 @@ class WM_OT_properties_remove(Operator): '''Internal use (edit a property data_path)''' bl_idname = "wm.properties_remove" bl_label = "Remove Property" + bl_options = {'UNDO'} data_path = rna_path property = rna_property |