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:
authorLukas Tönne <lukas.toenne@gmail.com>2014-02-19 16:33:47 +0400
committerLukas Tönne <lukas.toenne@gmail.com>2014-02-19 16:34:50 +0400
commitbff99b10a3084b4df4aecfd54a186cc7a5f8b3e8 (patch)
tree90c109b6de3114454d35df5eb3dc80553b71199b /source/blender/editors/animation/anim_ops.c
parent5d20db1d87ac4d6c47f4930ce6856b86a7c431ce (diff)
Fix T38720: Clear preview range operator missing notifier to redraw
timeline.
Diffstat (limited to 'source/blender/editors/animation/anim_ops.c')
-rw-r--r--source/blender/editors/animation/anim_ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 48b310b57ed..cc2144c3617 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -277,6 +277,9 @@ static int previewrange_clear_exec(bContext *C, wmOperator *UNUSED(op))
ED_area_tag_redraw(curarea);
+ /* send notifiers */
+ WM_event_add_notifier(C, NC_SCENE | ND_FRAME, scene);
+
return OPERATOR_FINISHED;
}