Inochi2D / inochi-creator

Inochi2D Rigging Application
BSD 2-Clause "Simplified" License
855 stars 47 forks source link

[BUG] Emission Strength value always reset to 100% when model file is opened. #443

Open helloar14 opened 2 weeks ago

helloar14 commented 2 weeks ago

Validations

Describe the bug

Opening a model will always set emission strength of every node to 100%. Editing those values, saving, closing, then opening again will make the values go back to 100% again. Tested on both 0.8.0 (personal daily driver) and 0.8.6 (latest as of this report).

Reproduction

  1. Edit emission strength value of any node to other than 100%.
  2. Save and close the file.
  3. Open the file again.
  4. The emission strength of the corresponding node goes back to 100%.

System Architecture

x86_64

Operating System

Windows

Version

0.8.6

Logs

No response

Additional Context

https://github.com/user-attachments/assets/dd5c4a6e-3f86-4e3e-9788-c78228bc4bf3

helloar14 commented 2 weeks ago

Update: After some more testing, this problem might be not exclusive to Creator, but also Session. Using Creator to edit the Emission Strength value, saving it, then immediately opening the file in Session results in the same problem.

https://github.com/user-attachments/assets/50353cc7-a654-4cbd-a474-1d5411107f41

r888800009 commented 2 weeks ago

Maybe the serialization is missing values, we should fix it in the inochi2d library, maybe