refactor: remove vegetation instance limit (will be handled by chunks later)

This commit is contained in:
Tom Boullay
2026-05-14 00:26:42 +02:00
parent 225ac828df
commit 242a3dcd37
2 changed files with 0 additions and 4 deletions
@@ -3,7 +3,6 @@ import type { MapNode } from "@/types/editor/editor";
import type { Vector3Tuple } from "@/types/three/three";
import { getMapNodes, loadMapSceneData } from "@/utils/map/loadMapSceneData";
import {
VEGETATION_MAX_INSTANCES,
VEGETATION_TYPES,
type VegetationType,
} from "@/world/vegetation/vegetationConfig";
@@ -32,7 +31,6 @@ function extractVegetationData(mapNodes: MapNode[]): VegetationData {
const instances = mapNodes
.filter((node) => node.name === config.mapName)
.slice(0, VEGETATION_MAX_INSTANCES)
.map(mapNodeToInstance);
if (instances.length > 0) {