mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
Utils: Rename to SceneUtils as they're all scene-bound
This commit is contained in:
1 parent
7e1952a71c
commit
fef49855fe
2 files changed
+4
-4
No files matched your search
@@ -26,7 +26,7 @@ import { QueueNames } from "~/pages/PageEnigma/Queue/QueueNames";
|
||||
import { fromEngineActions } from "~/pages/PageEnigma/Queue/fromEngineActions";
|
||||
import { MediaItem } from "~/pages/PageEnigma/models";
|
||||
import { editorState } from "../signals/engine";
|
||||
import { Utils } from "./helper";
|
||||
import { SceneUtils } from "./helper";
|
||||
import { VideoGeneration } from "./video_generation";
|
||||
import { MouseControls } from "./keybinds_controls";
|
||||
import { SaveManager } from "./save_manager";
|
||||
@@ -147,7 +147,7 @@ class Editor {
|
||||
// global names of scene entities
|
||||
camera_name: string;
|
||||
|
||||
utils: Utils;
|
||||
utils: SceneUtils;
|
||||
videoGeneration: VideoGeneration;
|
||||
mouse_controls: MouseControls | undefined;
|
||||
save_manager: SaveManager;
|
||||
@@ -276,7 +276,7 @@ class Editor {
|
||||
|
||||
this.activeScene.timeline = this.timeline;
|
||||
|
||||
this.utils = new Utils(this, this.activeScene);
|
||||
this.utils = new SceneUtils(this, this.activeScene);
|
||||
this.videoGeneration = new VideoGeneration(this);
|
||||
this.save_manager = new SaveManager(this);
|
||||
this.current_frame = 0;
|
||||
|
||||
@@ -11,7 +11,7 @@ import { MediaItem } from "~/pages/PageEnigma/models";
|
||||
import { AssetType } from "~/enums";
|
||||
import { hideObjectPanel } from "../signals";
|
||||
|
||||
export class Utils {
|
||||
export class SceneUtils {
|
||||
scene: Scene;
|
||||
editor: Editor;
|
||||
constructor(editor: Editor, scene: Scene) {
|
||||
|
||||
Reference in new issue
Block a user