[Bf-blender-cvs] [bff99b1] master: Fix T38720: Clear preview range operator missing notifier to redraw timeline.

Lukas Tönne noreply at git.blender.org
Wed Feb 19 13:39:53 CET 2014


Commit: bff99b10a3084b4df4aecfd54a186cc7a5f8b3e8
Author: Lukas Tönne
Date:   Wed Feb 19 13:33:47 2014 +0100
https://developer.blender.org/rBbff99b10a3084b4df4aecfd54a186cc7a5f8b3e8

Fix T38720: Clear preview range operator missing notifier to redraw
timeline.

===================================================================

M	source/blender/editors/animation/anim_ops.c

===================================================================

diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 48b310b..cc2144c 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;
 }




More information about the Bf-blender-cvs mailing list