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

Easier Addon Setting for Nodes settings in color management section #43

Conversation

MustafaJafar
Copy link
Contributor

@MustafaJafar MustafaJafar commented Nov 22, 2024

Changelog Description

resolve #42

Reuse the names/labels that admins/nuke artists are familiar with.
where the setting shows a drop down menu and select the creators

Note

Settings in this PR should be backward compatible. i.e. it shouldn't break copy settings.
If it's not please report.

Publisher Settings
Image Image
Nuke tab menu Settings
image image

Animation_44

Additional Info

I was modifying the code to take a neat screenshot but it turns out that the small modification actually works without changing any code or even default setting values.

Testing notes:

  1. Creating Nuke node should work as before.

@MustafaJafar MustafaJafar added the type: enhancement Improvement of existing functionality or minor addition label Nov 22, 2024
@MustafaJafar MustafaJafar self-assigned this Nov 22, 2024
@MustafaJafar
Copy link
Contributor Author

Also, I'd like to point out that when adding new creator plugins, we should update the two enums accordingly.

Copy link
Contributor

@robin-ynput robin-ynput left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that it worked and settings were properly reported.

image

{"value": "Camera2", "label": "Camera [3D Classic]"},
{"value": "Scene", "label": "Scene [3D Classic]"},
{"value": "BackdropNode", "label": "Backdrop [Other]"},
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially not for this PR, but I'm wondering if there is a way to make these enums dynamically retrieved ?
We would need to add a class attribute to each creator to get the associated Nuke node Class and gather the creators.

Benefit imo would be that we get server settings follow code adjustments.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to!
I don't know if we can the client side of ayon_nuke in the server side.
Let's summon our server guardian @martastain

@MustafaJafar MustafaJafar merged commit f7c7a53 into develop Nov 25, 2024
1 check passed
@MustafaJafar MustafaJafar deleted the 42-easier-addon-setting-for-nodes-settings-in-color-management-section branch November 25, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Easier Addon Setting for Nodes settings in color management section
3 participants