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:
authorThomas Dinges <blender@dingto.org>2009-10-16 14:49:54 +0400
committerThomas Dinges <blender@dingto.org>2009-10-16 14:49:54 +0400
commit6846abb2cae3efd3e5b9943d7eba3423cbef9da3 (patch)
tree7d6734ec0b43464c93f9ab97a4b8eeb676caca3e /source/blender/editors/animation/keyingsets.c
parentfbfbb2afe99da6ca4343c7f48b6d98796735086a (diff)
Added Notifier for Adding and Removing Keying sets.
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r--source/blender/editors/animation/keyingsets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c
index 30eaea8b82e..bf859ac6017 100644
--- a/source/blender/editors/animation/keyingsets.c
+++ b/source/blender/editors/animation/keyingsets.c
@@ -142,6 +142,9 @@ static int add_default_keyingset_exec (bContext *C, wmOperator *op)
scene->active_keyingset= BLI_countlist(&scene->keyingsets);
+ /* send notifiers */
+ WM_event_add_notifier(C, NC_SCENE|ND_KEYINGSET, NULL);
+
return OPERATOR_FINISHED;
}
@@ -182,6 +185,9 @@ static int remove_active_keyingset_exec (bContext *C, wmOperator *op)
/* the active one should now be the previously second-to-last one */
scene->active_keyingset--;
+ /* send notifiers */
+ WM_event_add_notifier(C, NC_SCENE|ND_KEYINGSET, NULL);
+
return OPERATOR_FINISHED;
}