-
Notifications
You must be signed in to change notification settings - Fork 0
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
add AYON context to the AYON menu #12
Conversation
I'm quite confident that this will not update the label on folder/task changes - it's not live but the menu is built one. We'd need a dynamic menu label otherwise (not sure how to do that). Which means the label that would be displayed would not be accurate. Here's a younger me on how to define a custom menu for Cinema4D: https://developers.maxon.net/forum/topic/12103/custom-menu-in-c4d-top-menu-bar-with-custom-python-commands This http://developers.maxon.net/forum//post/70228 seems to describe there is some way to update menus later. But I'm not sure how/where exactly. |
Now, the AYON context is shown BUT as @BigRoy mentioned above, it's static and not updated on context change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor notes - other than that this looks good!
@@ -60,6 +64,8 @@ AYON_RESET_RESOLUTION_ID = 1064318 | |||
AYON_RESET_COLORSPACE_ID = 1064320 | |||
AYON_EXPERIMENTAL_TOOLS_ID = 1064319 | |||
|
|||
AYON_CONTEXT_LABEL = 1064309 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What did you base this number on @MustafaJafar - is this officially registered with Maxon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I don't know.
I assume these are unique numbers to register the plugins/commands. I picked the smallest number - 1
in the pyp file.
In my last commit, I've added AYON icon. Please let me know if you don't like it :) @BigRoy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much - looking very nice!
Changelog Description
resolve #11
Testing notes: