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
373 stars 35 forks source link

Fix instance names #2

Closed Phyronnaz closed 3 years ago

Phyronnaz commented 3 years ago

Hi! Great library, thanks for making it! It's extremely useful :)

Currently, all instances under a group will have the name of that group, instead of their own name.

For instance here, all the instances would be named group: image

This fixes that to use the instance own name if available instead.

Note that I haven't thoroughly tested that fix :)

jpaver commented 3 years ago

Looks great, thanks for the fix!