From 366f9b563e3f01f9bf645e6325a1dc8e0de76b59 Mon Sep 17 00:00:00 2001 From: Michael Chung <6252325+ArEnSc@users.noreply.github.com> Date: Tue, 26 Mar 2024 22:21:45 -0400 Subject: [PATCH] Just notes --- app/pages/PageEnigma/js/editor.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/pages/PageEnigma/js/editor.js b/app/pages/PageEnigma/js/editor.js index 70c6153866..c918f68052 100644 --- a/app/pages/PageEnigma/js/editor.js +++ b/app/pages/PageEnigma/js/editor.js @@ -268,12 +268,20 @@ class Editor { "./resources/models/fox/fox.glb", ); + // Load timeline creates the the clips from the datastructure and loads them in here. // load object into the engine for lip syncing this.lipsync_engine.load_object( object.uuid, "m_f1jxx4zwy4da2zn0cvdqhha7kqkj72", ); - + this.animation_engine.load_object( + object.uuid, + "/resources/models/fox/fox_idle.glb", + "clip3", + ); + // then it creates clip ui to load the playable clips + // then refreshes the timeline. + // create the clip with the same id for a reference to the media this.timeline.addPlayableClip( new ClipUI( @@ -304,11 +312,7 @@ class Editor { 400, ), ); - this.animation_engine.load_object( - object.uuid, - "/resources/models/fox/fox_idle.glb", - "clip3", - ); + } // Configure post processing.