mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
cleanup; remove cors "fix" that didn't work
This commit is contained in:
@@ -60,7 +60,6 @@ export class StyleTab extends LitElement {
|
||||
oAThing(): void { console.log("🍕")};
|
||||
|
||||
compositorEnqueue = (sceneToken: string) => () => {
|
||||
console.log("🏎️",this.sceneToken,sceneToken);
|
||||
EnqueueEngineCompositing("",{
|
||||
uuid_idempotency_token: uuid(),
|
||||
media_file_token: sceneToken,
|
||||
@@ -69,8 +68,6 @@ export class StyleTab extends LitElement {
|
||||
skybox: "meadow_4k",
|
||||
}).then((res: any) => {
|
||||
if (res && res.success) {
|
||||
console.log("💎",res.inference_job_token);
|
||||
|
||||
window.parent.postMessage(
|
||||
`studio-scene-composited:compositeJobToken:${ res.inference_job_token }`,
|
||||
"*"
|
||||
@@ -81,7 +78,6 @@ export class StyleTab extends LitElement {
|
||||
}
|
||||
|
||||
thingy = ({ target }: any ) => {
|
||||
console.log("🏎️", this.sceneToken);
|
||||
}
|
||||
|
||||
protected override render = (): TemplateResult => html`
|
||||
|
||||
@@ -11,6 +11,7 @@ import { bind, on } from "@storyteller/framework";
|
||||
import { VideoStylePreview } from "./api/VideoStylePreview";
|
||||
|
||||
import "./bubble-select.element";
|
||||
import "./style-select.element";
|
||||
|
||||
import styles from "./temp-video-preview.element.scss?inline";
|
||||
import { STYLE_OPTIONS, type VstStyle } from "./inspector-tabs/style-tab";
|
||||
|
||||
Reference in New Issue
Block a user