Add terrain selection and rendering support
This commit is contained in:
@@ -52,6 +52,7 @@ import {
|
|||||||
isModelInstanceSelected,
|
isModelInstanceSelected,
|
||||||
isPathPointSelected,
|
isPathPointSelected,
|
||||||
isPathSelected,
|
isPathSelected,
|
||||||
|
isTerrainSelected,
|
||||||
type EditorSelection
|
type EditorSelection
|
||||||
} from "../core/selection";
|
} from "../core/selection";
|
||||||
import { getWhiteboxSelectionFeedbackLabel } from "../core/whitebox-selection-feedback";
|
import { getWhiteboxSelectionFeedbackLabel } from "../core/whitebox-selection-feedback";
|
||||||
@@ -94,6 +95,10 @@ import {
|
|||||||
getScenePaths,
|
getScenePaths,
|
||||||
type ScenePath
|
type ScenePath
|
||||||
} from "../document/paths";
|
} from "../document/paths";
|
||||||
|
import {
|
||||||
|
getTerrains,
|
||||||
|
type Terrain
|
||||||
|
} from "../document/terrains";
|
||||||
import {
|
import {
|
||||||
areAdvancedRenderingSettingsEqual,
|
areAdvancedRenderingSettingsEqual,
|
||||||
cloneAdvancedRenderingSettings,
|
cloneAdvancedRenderingSettings,
|
||||||
@@ -161,6 +166,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
buildBoxBrushDerivedMeshData
|
buildBoxBrushDerivedMeshData
|
||||||
} from "../geometry/box-brush-mesh";
|
} from "../geometry/box-brush-mesh";
|
||||||
|
import { buildTerrainDerivedMeshData } from "../geometry/terrain-mesh";
|
||||||
import {
|
import {
|
||||||
getBrushEdgeIds,
|
getBrushEdgeIds,
|
||||||
getBrushEdgeVertexIds,
|
getBrushEdgeVertexIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user