jpaver / opengametools

A set of open c++ game development tools that are lightweight, easy-to-integrate and free to use. Currently hosting a magicavoxel .vox full scene loader.
MIT License
375 stars 36 forks source link

ogt_vox: assert hit on invalid node id #45

Closed mgerhardy closed 1 year ago

mgerhardy commented 1 year ago

See https://github.com/mgerhardy/vengi/issues/226 - the attached vox file was also saved by ogt_vox

assert.zip

jpaver commented 1 year ago

Fix is here, would appreciate you taking a look and confirming it fixes it for you too. Thanks! https://github.com/jpaver/opengametools/pull/46