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:
authorJoshua Leung <aligorith@gmail.com>2009-11-17 13:12:35 +0300
committerJoshua Leung <aligorith@gmail.com>2009-11-17 13:12:35 +0300
commit10e1780cf9dc038f289539877790d12645c0bfda (patch)
tree4be6fa8cd2ed40aed8b11f17fca2b71e9e9063cc /source/blender/editors/animation/anim_ops.c
parentb1a6ef4bfc1275c9b06adca9cee125a2d3fa8df9 (diff)
Assorted bugfixes - Sequencer/Preview Range:
* Snapping strips now works with the hotkey Shift-S as in the rest of Blender * Preview Range works in Sequencer now (the operators for setting, clearing, and also drawing) * Related to the Preview Range for Sequencer, toggling the time-display mode also works * Preview Range Set operator now works again, after the modal keymaps change for borderselect broke it. Also sends correct notifiers now after bein called.
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 33eed1ff2a4..0f9b2939260 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -260,6 +260,9 @@ static int previewrange_define_exec(bContext *C, wmOperator *op)
scene->r.psfra= (int)floor(sfra + 0.5f);
scene->r.pefra= (int)floor(efra + 0.5f);
+ /* send notifiers */
+ WM_event_add_notifier(C, NC_SCENE|ND_FRAME, scene);
+
return OPERATOR_FINISHED;
}