ExOK / Celeste64

A game made by the Celeste developers in a week(ish, closer to 2)
1.58k stars 125 forks source link

Prevent crash when gltf texture name is null #59

Closed hacktic-dev closed 4 months ago

hacktic-dev commented 4 months ago

Celeste 64 currently uses texture names to index textures for meshes. However, texture names can be null when exported from certain editors, such as Blockbench. This change indexes textures using MemoryImage, preventing a crash when the texture name is null.

NoelFB commented 4 months ago

Looks good, thanks!