mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 05:42:32 +00:00
debugging
This commit is contained in:
1 parent
bbcc01d3c9
commit
ad4284f270
2 files changed
+6
-1
No files matched your search
@@ -259,6 +259,8 @@ export class TimeLine {
|
||||
const pos = this.getPos();
|
||||
const new_data = { ...data };
|
||||
|
||||
console.debug('Adding to engine scene manager: ', media_id, name, pos);
|
||||
|
||||
const obj = await this.editorEngine.sceneManager?.create(
|
||||
media_id,
|
||||
name,
|
||||
@@ -270,8 +272,12 @@ export class TimeLine {
|
||||
obj.name = name;
|
||||
obj.position.copy(pos);
|
||||
obj.userData.isCharacter = true;
|
||||
|
||||
console.debug("Added character object to timeline; object: ", obj);
|
||||
|
||||
// TODO(bt,2025-01-28): Hack for debugging only. Remove soon.
|
||||
(window as any).lastCharacter = obj;
|
||||
|
||||
const object_uuid = obj.uuid;
|
||||
|
||||
this.characters[object_uuid] = ClipGroup.CHARACTER; // TODO: Create a class to make the idea of a character.
|
||||
|
||||
@@ -298,7 +298,6 @@ export class VideoGeneration {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO(bt):
|
||||
console.log(`Immutable Snapshot Token: ${immutable_media_token}`);
|
||||
|
||||
await this.editor.updateLoad({
|
||||
|
||||
Reference in new issue
Block a user