From 64610533f96d607697a27eaeb9b43bdfd6e3ad5e Mon Sep 17 00:00:00 2001 From: ArEnSc <6252325+ArEnSc@users.noreply.github.com> Date: Mon, 20 May 2024 21:43:09 -0400 Subject: [PATCH] To Engine Actions (#405) --- app/pages/PageEnigma/Editor/editor.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/pages/PageEnigma/Editor/editor.ts b/app/pages/PageEnigma/Editor/editor.ts index 49ed54751e..9e5c3940b1 100644 --- a/app/pages/PageEnigma/Editor/editor.ts +++ b/app/pages/PageEnigma/Editor/editor.ts @@ -38,7 +38,7 @@ import { } from "~/signals"; import { updateObjectPanel } from "../signals"; import { GenerationOptions } from "../models/generationOptions"; - +import { toEngineActions } from "../Queue/toEngineActions"; export type EditorInitializeConfig = { sceneToken: string; }; @@ -484,6 +484,12 @@ class Editor { public async loadScene(scene_media_token: string) { this.save_manager.loadScene(scene_media_token); + + Queue.publish({ + queueName: QueueNames.TO_ENGINE, + action: toEngineActions.UPDATE_TIME, + data: { currentTime: 1 }, + }); } isObjectLipsync(object_uuid: string) {