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:
authorAntony Riakiotakis <kalast@gmail.com>2015-06-09 17:38:48 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-06-09 17:38:48 +0300
commit58f75e903a2032a59732eb8e91f79858b90b9a17 (patch)
tree4700079ebbda4839411f77e702f61e3e30a63f62
parent23d0af50319a0c658853beaf7e19f7fda302136a (diff)
Small cheat for attract tool:
Draw overdrop on top of post-draw call back.
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 7d4afffe73f..461afa0a1eb 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1667,14 +1667,14 @@ void draw_timeline_seq(const bContext *C, ARegion *ar)
}
+ /* callback */
+ ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW);
+
if (sseq->draw_flag & SEQ_DRAW_OVERDROP) {
draw_image_seq(C, scene, ar, sseq, scene->r.cfra, 0, false, true);
UI_SetTheme(SPACE_SEQ, RGN_TYPE_WINDOW);
UI_view2d_view_ortho(v2d);
}
-
- /* callback */
- ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW);
/* reset view matrix */
UI_view2d_view_restore(C);