From 5edbaab4f0c7b7fc589df0fa5285af5d225364e1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Mar 2012 03:33:42 +0000 Subject: fix [#30729] custom property add/remove wasnt doing an undo push. --- release/scripts/startup/bl_operators/wm.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/scripts/startup/bl_operators/wm.py') 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 -- cgit v1.2.3