[Bf-blender-cvs] [ce95856f2d6] master: Fix: VSE channels area has no background

Richard Antalik noreply at git.blender.org
Thu Apr 21 23:40:54 CEST 2022


Commit: ce95856f2d62325a3418fa0e53d041cbf39949ee
Author: Richard Antalik
Date:   Thu Apr 21 23:29:21 2022 +0200
Branches: master
https://developer.blender.org/rBce95856f2d62325a3418fa0e53d041cbf39949ee

Fix: VSE channels area has no background

Draw area background even when there is no sequencer data.

===================================================================

M	source/blender/editors/space_sequencer/sequencer_channels_draw.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list