Moved status.ts to editor

This commit is contained in:
Lucas Dower 2023-09-06 23:00:03 +01:00
parent 33ce259926
commit b5c228154c
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605
9 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
import { TLocalisedString } from '../editor/localiser';
import { TMessage } from '../editor/ui/console';
import { LOG, LOG_ERROR, LOG_WARN } from './util/log_util';
import { TLocalisedString } from './localiser';
import { TMessage } from './ui/console';
import { LOG, LOG_ERROR, LOG_WARN } from '../runtime/util/log_util';
/**
* `StatusHandler` is used to track success, info, warning, and error messages.

View File

@ -1,5 +1,5 @@
import { ProgressManager } from '../progress';
import { StatusHandler } from '../../runtime/status';
import { StatusHandler } from '../status';
import { AppError } from '../../runtime/util/error_util';
import { LOG_ERROR } from '../../runtime/util/log_util';
import { WorkerClient } from './worker_client';

View File

@ -9,7 +9,7 @@ import { BlockMeshLighting } from './lighting';
import { LOC } from '../editor/localiser';
import { Palette } from './palette';
import { ProgressManager } from '../editor/progress';
import { StatusHandler } from './status';
import { StatusHandler } from '../editor/status';
import { ColourSpace, TOptional } from './util';
import { AppError, ASSERT } from './util/error_util';
import { LOGF } from './util/log_util';

View File

@ -5,7 +5,7 @@ import { NBT, TagType } from 'prismarine-nbt';
import { BLOCK_IDS } from '../../../res/block_ids';
import { BlockMesh } from '../block_mesh';
import { LOC } from '../../editor/localiser';
import { StatusHandler } from '../status';
import { StatusHandler } from '../../editor/status';
import { LOG_WARN } from '../util/log_util';
import { saveNBT } from '../util/nbt_util';
import { Vector3 } from '../vector';

View File

@ -4,7 +4,7 @@ import { GLTFLoader } from '@loaders.gl/gltf';
import { RGBAColours, RGBAUtil } from '../colour';
import { LOC } from '../../editor/localiser';
import { MaterialMap, MaterialType, Mesh, Tri } from '../mesh';
import { StatusHandler } from '../status';
import { StatusHandler } from '../../editor/status';
import { UV } from '../util';
import { Vector3 } from '../vector';
import { IImporter } from './base_importer';

View File

@ -2,7 +2,7 @@ import { Bounds } from './bounds';
import { RGBA, RGBAUtil } from '../runtime/colour';
import { LOC } from '../editor/localiser';
import { degreesToRadians } from './math';
import { StatusHandler } from './status';
import { StatusHandler } from '../editor/status';
import { Texture, TextureConverter, TImageFiletype, TImageRawWrap, TTransparencyOptions } from './texture';
import { Triangle, UVTriangle } from './triangle';
import { getRandomID, UV } from './util';

View File

@ -4,7 +4,7 @@ import { PALETTE_GREYSCALE } from '../../res/palettes/greyscale';
import { PALETTE_SCHEMATIC_FRIENDLY } from '../../res/palettes/schematic-friendly';
import { Atlas } from '../runtime/atlas';
import { LOC } from '../editor/localiser';
import { StatusHandler } from './status';
import { StatusHandler } from '../editor/status';
import { AppTypes, AppUtil, TOptional } from './util';
import { LOG_WARN } from './util/log_util';
import { AppPaths, PathUtil } from './util/path_util';

View File

@ -2,7 +2,7 @@ import { RGBA, RGBAColours, RGBAUtil } from '../colour';
import { AppConfig } from '../../editor/config';
import { LOC } from '../../editor/localiser';
import { MaterialType, Mesh } from '../mesh';
import { StatusHandler } from '../status';
import { StatusHandler } from '../../editor/status';
import { Triangle, UVTriangle } from '../triangle';
import { UV } from '../util';
import { ASSERT } from '../util/error_util';

View File

@ -1,4 +1,4 @@
import { StatusHandler } from '../src/runtime/status';
import { StatusHandler } from '../src/editor/status';
import { LOG_MAJOR, Logger, TIME_END, TIME_START } from '../src/runtime/util/log_util';
import { WorkerClient } from '../src/editor/worker/worker_client';
import { AssignParams, ExportParams, ImportParams, VoxeliseParams } from '../src/editor/worker/worker_types';