Fix: VSE initial "fake" retiming keys not displayed
After ce9becae4c the "fake" initial retiming keys were not rendered
properly. Fix this by undoing the part of can_draw_retiming that
added check for SEQ_retiming_keys_count.
This commit is contained in:
@@ -244,10 +244,6 @@ static bool can_draw_retiming(const TimelineDrawContext *timeline_ctx,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (SEQ_retiming_keys_count(strip_ctx.seq) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -305,7 +301,7 @@ static void retime_key_draw(const TimelineDrawContext *timeline_ctx,
|
||||
void sequencer_retiming_draw_continuity(const TimelineDrawContext *timeline_ctx,
|
||||
const StripDrawContext &strip_ctx)
|
||||
{
|
||||
if (!can_draw_retiming(timeline_ctx, strip_ctx)) {
|
||||
if (!can_draw_retiming(timeline_ctx, strip_ctx) || SEQ_retiming_keys_count(strip_ctx.seq) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user