Update migrate-scene-document.ts with new brush types and utility functions

This commit is contained in:
2026-04-15 08:08:47 +02:00
parent b5bba4823f
commit b2f1d71307

View File

@@ -103,23 +103,34 @@ import {
} from "../interactions/interaction-links"; } from "../interactions/interaction-links";
import { import {
BOX_VERTEX_IDS, BOX_VERTEX_IDS,
WEDGE_FACE_IDS,
WEDGE_VERTEX_IDS,
MAX_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT, MAX_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT,
createBoxBrush, createBoxBrush,
createDefaultRadialPrismBrushGeometry,
createDefaultBoxBrushGeometry, createDefaultBoxBrushGeometry,
createDefaultBoxBrushFogSettings, createDefaultBoxBrushFogSettings,
createDefaultBoxBrushWaterSettings, createDefaultBoxBrushWaterSettings,
createDefaultWedgeBrushGeometry,
createDefaultFaceUvState, createDefaultFaceUvState,
createRadialPrismBrush,
createWedgeBrush,
DEFAULT_BOX_BRUSH_ENABLED, DEFAULT_BOX_BRUSH_ENABLED,
DEFAULT_BOX_BRUSH_ROTATION_DEGREES, DEFAULT_BOX_BRUSH_ROTATION_DEGREES,
DEFAULT_BOX_BRUSH_VISIBLE, DEFAULT_BOX_BRUSH_VISIBLE,
getRadialPrismFaceIds,
getRadialPrismVertexIds,
isBoxBrushVolumeMode, isBoxBrushVolumeMode,
isBoxFaceId, isBoxFaceId,
isFaceUvRotationQuarterTurns, isFaceUvRotationQuarterTurns,
normalizeRadialPrismSideCount,
normalizeBrushName, normalizeBrushName,
type BoxBrushVolumeSettings, type BoxBrushVolumeSettings,
type BoxBrushFaces, type BoxBrushFaces,
type BrushFace, type BrushFace,
type FaceUvState type FaceUvState,
type WhiteboxFaceId,
type WhiteboxVertexId
} from "./brushes"; } from "./brushes";
import { import {
BOX_BRUSH_SCENE_DOCUMENT_VERSION, BOX_BRUSH_SCENE_DOCUMENT_VERSION,