rednblackgames / HyperLap2D

A powerful, platform-independent, visual editor for complex 2D worlds and scenes.
https://hyperlap2d.rednblack.games/
GNU General Public License v3.0
376 stars 67 forks source link

Check if atlasRegion has splits data when editing ninepatch #47

Closed 6money closed 3 years ago

6money commented 3 years ago

This, together with the related pull request in hyperlap2d-runtime-libgdx allows the application to recover if a nine patch asset was deleted from the project and is re-added while scenes still reference that removed nine patch, or if you want to replace a nine patch asset with a different image.

recover_from_deleted_ninepatch_asset

fgnm commented 3 years ago

Thanks! I'll check and merge ASAP 😃