Skip to content

Commit d943504

Browse files
author
DavidQ
committed
Remove imageDataUrl from active tool runtime paths (Tilemap + Parallax)
- Eliminated `imageDataUrl` usage in `tools/Tilemap Studio/main.js` and `tools/Parallax Scene Studio/main.js`. - Replaced DataURL import/preview flow with transient `blob:` object URLs (non-persisted), including cache + cleanup/revocation handling. - Removed fallback branches based on `imageDataUrl` and kept path-based (`imageName`/`imageSource`) as source of truth. - Updated `tools/shared/projectToolIntegration.js` to stop stripping `imageDataUrl` (no longer present in active tool payloads). - Verified with `node --check` and repo grep: no `imageDataUrl` usage remains in `tools/` and `samples/` JS/JSON.
1 parent 0efdf62 commit d943504

9 files changed

Lines changed: 159 additions & 110 deletions

File tree

samples/metadata/samples.index.metadata.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6421,7 +6421,9 @@
64216421
],
64226422
"toolHints": [
64236423
"tile-map-editor"
6424-
]
6424+
],
6425+
"thumbnail": "/samples/phase-12/1209/assets/images/preview.svg",
6426+
"preview": "/samples/phase-12/1209/assets/images/preview.svg"
64256427
},
64266428
{
64276429
"id": "1210",
@@ -6446,7 +6448,9 @@
64466448
],
64476449
"toolHints": [
64486450
"tile-map-editor"
6449-
]
6451+
],
6452+
"thumbnail": "/samples/phase-12/1210/assets/images/preview.svg",
6453+
"preview": "/samples/phase-12/1210/assets/images/preview.svg"
64506454
},
64516455
{
64526456
"id": "1211",
@@ -6471,7 +6475,9 @@
64716475
],
64726476
"toolHints": [
64736477
"tile-map-editor"
6474-
]
6478+
],
6479+
"thumbnail": "/samples/phase-12/1211/assets/images/preview.svg",
6480+
"preview": "/samples/phase-12/1211/assets/images/preview.svg"
64756481
},
64766482
{
64776483
"id": "1301",
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

samples/phase-12/1211/assets/images/preview.svg

Lines changed: 3 additions & 0 deletions
Loading

samples/phase-17/1706/assets/images/preview.svg

Lines changed: 1 addition & 1 deletion
Loading

samples/phase-17/1707/assets/images/preview.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)