twinstar6980 / Twinning

https://github.com/twinstar6980/Twinning.Documentation
GNU General Public License v3.0
58 stars 12 forks source link

Helper: Animation Viewer problem #25

Closed Haruma-VN closed 7 months ago

Haruma-VN commented 7 months ago

The Helper is extremely strict in JSON parsing, yet also animation rendering. Even the pam json made by toolkit is refused, can it be fixed? When an exception is thrown, the helper itself refused to open a new file (please fix this, second image) Below is the pam json image

image CHILLYPEPPER.pam.json

twinstar6980 commented 7 months ago

This pam is wrong, it is trying to delete a non-existent layer (index 43). Is this json generated by a tool? Has it been modified?

Haruma-VN commented 7 months ago

I modified it for some experimental. Can the Helper be modified: if the current pam json is broken, it allows to select or ask the user to select other pam json rather than block the users do anything?

twinstar6980 commented 7 months ago

Regardless of whether pam has errors, you can clear or reselect pam.