fixed lipsync.

This commit is contained in:
Quicksticks-oss committed 2024-04-09 23:11:59 -04:00
1 parent 1c37a46d03
commit c2ffca0f2a
1 file changed
+2 -1
+2 -1
View File
@@ -195,6 +195,7 @@ export class TimeLine {
data_json['scale'],
data_json['offset'],
data_json['keyframe_uuid']);
await this.addPlayableClip(new ClipUI(
data_json['version'],
ClipType.TRANSFORM,
@@ -460,7 +461,7 @@ export class TimeLine {
if (this.scrubber_frame_position + 1 >= element.length) {
this.lipSync_engine.clips[element.object_uuid + element.media_id].stop();
} else if (object) {
await this.lipSync_engine.clips[element.object_uuid].play(object);
await this.lipSync_engine.clips[element.object_uuid + element.media_id].play(object);
this.lipSync_engine.clips[element.object_uuid + element.media_id].step();
}
} else if (element.type === ClipType.ANIMATION) {