mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
merge from origin
This commit is contained in:
commit
009e25db89
2 files changed
+4
-10
No files matched your search
@@ -7,7 +7,6 @@ import { audioItemsFromServer } from "~/pages/PageEnigma/store/mediaFromServer";
|
||||
import { ListAudioByUser } from "./utilities";
|
||||
import { inferenceJobs } from "~/pages/PageEnigma/store/inferenceJobs";
|
||||
import { JobState } from "~/hooks/useInferenceJobManager/useInferenceJobManager";
|
||||
import { TabTitle } from "~/pages/PageEnigma/comps/SidePanelTabs/comps/TabTitle";
|
||||
|
||||
import { PageLibrary } from "./pageLibrary";
|
||||
import { PageTTS } from "./pageTTS";
|
||||
|
||||
@@ -727,9 +727,6 @@ class Editor {
|
||||
if (obj?.name === "::CAM::") {
|
||||
return;
|
||||
}
|
||||
if (obj?.name === "::CAM::") {
|
||||
return;
|
||||
}
|
||||
if (obj) {
|
||||
this.activeScene.scene.remove(obj);
|
||||
}
|
||||
@@ -888,10 +885,6 @@ class Editor {
|
||||
if (changeView) {
|
||||
this.switchCameraView();
|
||||
}
|
||||
} else if (
|
||||
this.last_scrub === this.timeline.scrubber_frame_position &&
|
||||
this.getselectedSum() !== this.last_selected_sum
|
||||
) {
|
||||
} else if (
|
||||
this.last_scrub === this.timeline.scrubber_frame_position &&
|
||||
this.getselectedSum() !== this.last_selected_sum
|
||||
@@ -1105,8 +1098,10 @@ class Editor {
|
||||
const stylePreview: HTMLVideoElement | null = document.getElementById(
|
||||
"styled-preview",
|
||||
) as HTMLVideoElement;
|
||||
this.rawRenderer.setSize(stylePreview.width, stylePreview.height);
|
||||
this.render_camera.aspect = stylePreview.width / stylePreview.height;
|
||||
if (stylePreview != null) {
|
||||
this.rawRenderer.setSize(stylePreview.width, stylePreview.height);
|
||||
this.render_camera.aspect = stylePreview.width / stylePreview.height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user