Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: Parameters moved from root to Parameter Group is not handled correctly. #231

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

seagetch
Copy link
Contributor

@seagetch seagetch commented Apr 13, 2023

Fixed two bugs:

  1. Parameter was not saved under following condition.
    a) parameter was not owned by any parameter group at first.
    b) parameter was moved to a parameter group in parameter panel.

  2. First child of parameter group is not handled correctly, and cannot be removed from parameter group.


bug 1 was caused because unowned parameters are removed before added to ExParameterGroup before, but currently it must not be removed from puppet.parameters.

bug 2 was caused because first child was directly added to ExParameterGroup.children before, but now it have to be passed to moveParameter function.

@LunaTheFoxgirl LunaTheFoxgirl merged commit bc05cfa into Inochi2D:main Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants