mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
format files
This commit is contained in:
@@ -1116,7 +1116,11 @@ scene-exporter.ts
|
|||||||
audioBuffer,
|
audioBuffer,
|
||||||
}: ExportParams)
|
}: ExportParams)
|
||||||
cancel(): void
|
cancel(): void
|
||||||
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null>
|
async export({
|
||||||
|
rootNode,
|
||||||
|
}: {
|
||||||
|
rootNode: RootNode;
|
||||||
|
}): Promise<ArrayBuffer | null>
|
||||||
}
|
}
|
||||||
|
|
||||||
## apps/web/src/services/storage
|
## apps/web/src/services/storage
|
||||||
|
|||||||
@@ -77,7 +77,11 @@ export class SceneExporter extends EventEmitter<SceneExporterEvents> {
|
|||||||
this.isCancelled = true;
|
this.isCancelled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null> {
|
async export({
|
||||||
|
rootNode,
|
||||||
|
}: {
|
||||||
|
rootNode: RootNode;
|
||||||
|
}): Promise<ArrayBuffer | null> {
|
||||||
const { fps } = this.renderer;
|
const { fps } = this.renderer;
|
||||||
const frameCount = Math.ceil(rootNode.duration * fps);
|
const frameCount = Math.ceil(rootNode.duration * fps);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user