Skip to content

Commit b8ea997

Browse files
committed
Fix: recording stops before the playback is about to loop around the playback range
Before the playback would loop around and the sound strip would be added before the start of the playback range.
1 parent ca9bc64 commit b8ea997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ def modal(self, context, event):
480480
if not context.screen.is_animation_playing:
481481
self.was_playing = True
482482
return self.execute(context)
483-
# Stop if the timeline looped around
484-
if context.scene.frame_current < self.frame_start:
483+
# Stop if the timeline is about to loop around
484+
if context.scene.frame_current >= context.scene.frame_end:
485485
return self.execute(context)
486486
# Stop if the user deletes the visual feedback strip
487487
color_strip = SEQUENCER_OT_push_to_talk.visual_feedback_strip

0 commit comments

Comments
 (0)