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(editor): sync tilemap stroke ownership checks
yhh32c343c1becd
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ac773b7ce..ca70ad1d2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,8 @@ published separately; it ships inside the editor.### Fixed+- **Tilemap edits respect layer locks and stroke ownership.** Locked layers reject paints and tileset changes before taking snapshots. Live strokes require their original scene, layer binding and edit world; stale completion or cancellation cannot affect reused handles. Locking a layer rolls back its unfinished stroke.+- **Tilemap data is available before renderer initialization.** Headless tile reads, edits and chunk serialization use the context's own data service without requiring graphics setup. Initializing the renderer keeps any preloaded maps; shutdown and reinitialization create a fresh service.- **Tilemap bucket fills finish every discovered cell within the safety limit.** A 16,384-cell region fills completely without a false warning, while larger or infinite regions remain bounded. Traversal uses a FIFO cursor and reads each boundary cell once. Flip flags participate in the brush comparison, and unchanged cells are omitted from the paint transaction.diff --git a/desktop b/desktopindex 8b4658946..33ae07ab6 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit 8b4658946ef6dabd840c457955050dc2e52848e0+Subproject commit 33ae07ab631e2ea26ed18fffb80183e1593c8732diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex d6067f3e3..7f8d62532 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -28,6 +28,10 @@ export const NOTES_FLOOR = 'v0.65.0';* the reader recognises anyway.*/export const NOTED = {+ 'fix(tilemap): scope paint strokes and respect layer locks':+ { note: 'Tilemap edits respect layer locks and stroke ownership.' },+ 'fix(editor): sync tilemap stroke ownership checks':+ { note: 'Tilemap edits respect layer locks and stroke ownership.' },'fix(engine): register tilemap data before renderer initialization':{ note: 'Tilemap data is available before renderer initialization.' },'fix(tilemap): complete bounded fills and avoid repeated boundary reads':