Update App.tsx with new path commands and selection logic

This commit is contained in:
2026-04-13 22:27:36 +02:00
parent 2843b20be1
commit 9cb6c57791

View File

@@ -18,7 +18,9 @@ import { createDuplicateSelectionCommand } from "../commands/duplicate-selection
import { createImportAudioAssetCommand } from "../commands/import-audio-asset-command"; import { createImportAudioAssetCommand } from "../commands/import-audio-asset-command";
import { createImportBackgroundImageAssetCommand } from "../commands/import-background-image-asset-command"; import { createImportBackgroundImageAssetCommand } from "../commands/import-background-image-asset-command";
import { createImportModelAssetCommand } from "../commands/import-model-asset-command"; import { createImportModelAssetCommand } from "../commands/import-model-asset-command";
import { createAddPathPointCommand } from "../commands/add-path-point-command";
import { createDeletePathCommand } from "../commands/delete-path-command"; import { createDeletePathCommand } from "../commands/delete-path-command";
import { createDeletePathPointCommand } from "../commands/delete-path-point-command";
import { createDeleteModelInstanceCommand } from "../commands/delete-model-instance-command"; import { createDeleteModelInstanceCommand } from "../commands/delete-model-instance-command";
import { createCommitTransformSessionCommand } from "../commands/commit-transform-session-command"; import { createCommitTransformSessionCommand } from "../commands/commit-transform-session-command";
import { createMoveBoxBrushCommand } from "../commands/move-box-brush-command"; import { createMoveBoxBrushCommand } from "../commands/move-box-brush-command";
@@ -53,9 +55,11 @@ import {
getSingleSelectedBrushId, getSingleSelectedBrushId,
getSingleSelectedEntityId, getSingleSelectedEntityId,
getSingleSelectedModelInstanceId, getSingleSelectedModelInstanceId,
getSingleSelectedPathId, getSingleSelectedPathOwnerId,
getSingleSelectedPathPoint,
isBrushFaceSelected, isBrushFaceSelected,
isBrushSelected, isBrushSelected,
isPathPointSelected,
isPathSelected, isPathSelected,
type EditorSelection type EditorSelection
} from "../core/selection"; } from "../core/selection";
@@ -173,9 +177,11 @@ import {
createAppendedScenePathPoint, createAppendedScenePathPoint,
createScenePath, createScenePath,
getScenePathLabel, getScenePathLabel,
getScenePathPointIndex,
getScenePaths, getScenePaths,
normalizeScenePathName, normalizeScenePathName,
type ScenePath type ScenePath,
type ScenePathPoint
} from "../document/paths"; } from "../document/paths";
import { import {
areProjectTimeSettingsEqual, areProjectTimeSettingsEqual,