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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-26 06:44:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-26 06:44:21 +0400
commite77729f5ddd5f2c64cf1aeda08a8ccce63b2ec62 (patch)
tree56f61fafa6d350c1258f4499e0caeecff877a725 /source/blender/editors/animation/drivers.c
parent0731932eb8ca33fe7b634c09761d4ca394f182c4 (diff)
Fix a few more cases where an operator should not show in the search menu.
Diffstat (limited to 'source/blender/editors/animation/drivers.c')
-rw-r--r--source/blender/editors/animation/drivers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c
index ef15e254048..8c49bee3058 100644
--- a/source/blender/editors/animation/drivers.c
+++ b/source/blender/editors/animation/drivers.c
@@ -513,7 +513,7 @@ void ANIM_OT_driver_button_add(wmOperatorType *ot)
//op->poll = ??? // TODO: need to have some animatable property to do this
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
/* properties */
RNA_def_boolean(ot->srna, "all", 1, "All", "Create drivers for all elements of the array");
@@ -563,7 +563,7 @@ void ANIM_OT_driver_button_remove(wmOperatorType *ot)
//op->poll = ??? // TODO: need to have some driver to be able to do this...
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
/* properties */
RNA_def_boolean(ot->srna, "all", 1, "All", "Delete drivers for all elements of the array");
@@ -610,7 +610,7 @@ void ANIM_OT_copy_driver_button(wmOperatorType *ot)
//op->poll = ??? // TODO: need to have some driver to be able to do this...
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
}
/* Paste Driver Button Operator ------------------------ */
@@ -654,7 +654,7 @@ void ANIM_OT_paste_driver_button(wmOperatorType *ot)
//op->poll = ??? // TODO: need to have some driver to be able to do this...
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
}
/* ************************************************** */