Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-05 11:01:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-05 15:57:45 +0300
commit66f8a2d67e0ae9b76d87675a88bfc28fa87bef69 (patch)
treee6bc232896b3108b43f57edd430fca507a2cbdc0 /source
parent7f95ea6f7806c14ea2f93b1257f14d8c6ec1c64a (diff)
UI: remove delete redo panel
Since the option is now hidden from the UI, add to the object menu (without this the key binding isn't discoverable).
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/object/object_add.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index db22f719cab..e5a75bbecfb 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -1400,7 +1400,9 @@ void OBJECT_OT_delete(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
- RNA_def_boolean(ot->srna, "use_global", 0, "Delete Globally", "Remove object from all scenes");
+ PropertyRNA *prop;
+ prop = RNA_def_boolean(ot->srna, "use_global", 0, "Delete Globally", "Remove object from all scenes");
+ RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
}
/**************************** Copy Utilities ******************************/