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:
authorRichard Antalik <richardantalik@gmail.com>2022-03-10 22:22:02 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-03-10 22:26:21 +0300
commitfe3a9fcce1e6cfce84139d53efe6ed17a71bcad7 (patch)
tree978ec48cc9dd0f024ef53ac06cf192cae6196c5f /source/blender/editors/space_sequencer
parent3f91e7d7792ed5315e8b0c80de4355f064db4a6d (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')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c7
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);