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-04-22 00:29:21 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-04-22 00:40:36 +0300
commitce95856f2d62325a3418fa0e53d041cbf39949ee (patch)
treef70c2dba6224e605a933f673425ab0d31b330301 /source/blender/editors/space_sequencer/sequencer_channels_draw.c
parent74b9c351b9783cbaf3f76058eb583aba73261100 (diff)
Fix: VSE channels area has no background
Draw area background even when there is no sequencer data.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_channels_draw.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_channels_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_channels_draw.c b/source/blender/editors/space_sequencer/sequencer_channels_draw.c
index b4bb4e950f0..a777132e9fc 100644
--- a/source/blender/editors/space_sequencer/sequencer_channels_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_channels_draw.c
@@ -347,6 +347,8 @@ void channel_draw_context_init(const bContext *C,
void draw_channels(const bContext *C, ARegion *region)
{
+ draw_background();
+
Editing *ed = SEQ_editing_get(CTX_data_scene(C));
if (ed == NULL) {
return;
@@ -357,7 +359,6 @@ void draw_channels(const bContext *C, ARegion *region)
UI_view2d_view_ortho(context.v2d);
- draw_background();
draw_channel_headers(&context);
UI_view2d_view_restore(C);