A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(terrain): the paint weights stay exported from the terrain plugin module
yhh8b76813d5f79
diff --git a/sdk/src/terrain/terrainPlugin.ts b/sdk/src/terrain/terrainPlugin.tsindex 2f63b8dc2..e66b5d44b 100644--- a/sdk/src/terrain/terrainPlugin.ts+++ b/sdk/src/terrain/terrainPlugin.ts@@ -39,6 +39,8 @@ import type { Color, Entity } from '../types';import { erosionJob, heightfieldFromPixels, HeightmapFormat, type Heightfield } from './heightfield';import { findGroundPath, type ReachOptions, type ReachResult } from './reach';import { paintWeights } from './paint';++export { paintWeights };import { FieldSource, ModifiedSource, type TerrainModifier, type TerrainSource } from './source';import { levelRange, nodeKey, parentOf, selectNodes, type QuadtreeParams, type TerrainNode } from './quadtree';import { makePage, PageTable, PAGE_SIDE, PAGE_TEXELS, PATCH_CELLS, type PageImage, type Repaint } from './pages';diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 31902fd4d..f6e6fa9db 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -2898,6 +2898,8 @@ export const NOTED = {{"internal":"Gate baselines and a module split; nothing a creator sees."},"fix(render): the per-object record texture is created from storage as tall as the texture, and a world that has aborted reports its despawns once":{"note":"Many placed objects no longer crash the renderer."},+ "fix(terrain): the paint weights stay exported from the terrain plugin module":+ {"internal":"A re-export the module split dropped."},"feat(assets): a project names folders its asset database leaves alone":{"note":"A project can keep folders out of its asset database."},"feat(worldgen): a plant part may cast no shadow, and far cells are capped at two cells wide":