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@gmail.com>2014-02-26 21:54:40 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-02-26 21:56:00 +0400
commitc4eab10e5c4883f25fe57f7761382b456cc0fb62 (patch)
tree66f974c6f4e3acc3afbffb0cc85408627a572ef5 /source/blender/editors/animation/drivers.c
parent0fa832bed2e905bcf438e10b5b58ad0f9d9951ee (diff)
Fix T38853: right click menu add driver should not be possible to redo.
This was already disabled for the keyframing operators, needs to be done for drivers as well as this doesn't work.
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 668c8cdceec..d96fa2ba853 100644
--- a/source/blender/editors/animation/drivers.c
+++ b/source/blender/editors/animation/drivers.c
@@ -544,7 +544,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 | OPTYPE_INTERNAL;
+ ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
/* properties */
RNA_def_boolean(ot->srna, "all", 1, "All", "Create drivers for all elements of the array");
@@ -595,7 +595,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 | OPTYPE_INTERNAL;
+ ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
/* properties */
RNA_def_boolean(ot->srna, "all", 1, "All", "Delete drivers for all elements of the array");
@@ -642,7 +642,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 | OPTYPE_INTERNAL;
+ ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
}
/* Paste Driver Button Operator ------------------------ */
@@ -686,7 +686,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 | OPTYPE_INTERNAL;
+ ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
}
/* ************************************************** */