Bug #382
Manually added tile images cause map editor crash
0%
Description
The images appear to not be shown in either the Tile Editor, Map Editor or Level Editor. The map in question is Room With A View of Hell.
This is probably related to the third-party image serving we are doing now, and a failure to disambiguate where a particular asset is stored.
Updated by Administrator Administrator 7 months ago
- Subject changed from Manually added tile images are lost and not shown to Manually added tile images cause map editor crash
- Assignee changed from Jay Gischer to Frank Fernandez
- Priority changed from Normal to High
I create a new map. It begins blank. The console looks ok.
I add an image from my system to create a new map. It does not appear. In the console, I see this:
{moduleType: 'Tile', name: 'Unnamed Tile', imageId: '', imageUrl: '', xOffset: 0, …}
tiles.js:126 {filename: 'ComplexBluesTile0.png', imageId: 'D3YgrXXst2LtcqNjK', xOffset: 0, yOffset: 0, xScale: 1, …}
maps.js:309 Map width: 20
maps.js:310 Map height: 20
meteor.js?hash=857dafb4b9dff17e29ed8498a22ea5b1a3d6b41d:1059 Exception from Tracker recompute function:
meteor.js?hash=857dafb4b9dff17e29ed8498a22ea5b1a3d6b41d:1059 TypeError: Cannot read properties of undefined (reading 'length')
at maps.js:265:33
at Array.forEach (<anonymous>)
at loadMapFeatures (maps.js:218:13)
at Blaze.View.<anonymous> (mapEditor.js:56:7)
at view.js:196:20
at Template._withTemplateInstanceFunc (template.js:493:14)
at view.js:194:29
at Blaze._withCurrentView (view.js:533:12)
at viewAutorun (view.js:193:18)
at Computation._compute (tracker.js:308:7)
It appears to have some issue with the walls.
If I 'Add system image' I get a crash in the exact same place.
Updated by Frank Fernandez 7 months ago
- Status changed from New to Resolved
- Assignee changed from Frank Fernandez to Jay Gischer
Should be fixed now.
Updated by Administrator Administrator 7 months ago
- Status changed from Resolved to Closed
Pushed in 0.27.3