mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 19:41:32 +00:00
Fixed rendering after playback issue. (#344)
Fixed rendering with playback already started glitch.
This commit is contained in:
1 parent
d73a1f68a0
commit
868d72d601
1 file changed
+4
@@ -1330,6 +1330,10 @@ class Editor {
|
||||
// This initializes the generation of a video render scene is where the core work happens
|
||||
generateVideo() {
|
||||
console.log("Generating video...", this.frame_buffer);
|
||||
this.timeline.is_playing = false;
|
||||
this.timeline.scrubber_frame_position = 0;
|
||||
this.timeline.current_time = 0;
|
||||
|
||||
if (this.rendering || this.generating_preview) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user