diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-03-10 22:22:02 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:30:38 +0300 |
commit | 986d5bf9062d0cf7bdf1bff8f7a7722b55402edc (patch) | |
tree | f5f1dcffac9feec2bbec886c9a9ec28d6ab19731 /source/blender/editors/space_sequencer/sequencer_draw.c | |
parent | d46d55879cea21ffc8221e6f9c118244b6062532 (diff) |
Fix incorrect meta strip background color
When viewing meta strip, it had orange color. This was caused by
overflow because of hard-coded offset. Theme got darker, and background
was also set again further in code, but redundant drawing was removed in
f4492629ea0.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index bdad08fe20a..0d0042c4656 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -2690,12 +2690,7 @@ void draw_timeline_seq(const bContext *C, ARegion *region) GPU_depth_test(GPU_DEPTH_NONE); UI_GetThemeColor3fv(TH_BACK, col); - if (ed && ed->metastack.first) { - GPU_clear_color(col[0], col[1], col[2] - 0.1f, 0.0f); - } - else { - GPU_clear_color(col[0], col[1], col[2], 0.0f); - } + GPU_clear_color(col[0], col[1], col[2], 0.0f); UI_view2d_view_ortho(v2d); draw_seq_timeline_channels(v2d); |