diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-11-04 23:06:39 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-11-04 23:06:39 +0300 |
commit | 59af0fba9d2ea6c9dc192d3f12de31f862d6b68f (patch) | |
tree | f0014522931db96cea8bf3e1f62790f00e59bad6 | |
parent | 4b200b491c6b464bcc9a6c884e56e647876b76fb (diff) | |
parent | bba6d2894290244be847a6d4ee7722c82ec01c0e (diff) |
Merge branch 'blender-v3.4-release'
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_channels_draw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_channels_draw.c b/source/blender/editors/space_sequencer/sequencer_channels_draw.c index 8abd7e424d1..901417c152f 100644 --- a/source/blender/editors/space_sequencer/sequencer_channels_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_channels_draw.c @@ -357,6 +357,10 @@ void draw_channels(const bContext *C, ARegion *region) SeqChannelDrawContext context; channel_draw_context_init(C, region, &context); + if (round_fl_to_int(context.channel_height) == 0) { + return; + } + UI_view2d_view_ortho(context.v2d); draw_channel_headers(&context); |