-
Notifications
You must be signed in to change notification settings - Fork 37
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
Maya: Workfile Templates implement Assign Look placeholder #437
Maya: Workfile Templates implement Assign Look placeholder #437
Conversation
…ncement/maya_template_add_assign_look_placeholder # Conflicts: # client/ayon_core/hosts/maya/plugins/workfile_build/assign_look_placeholder.py
…ement/maya_template_add_assign_look_placeholder
…ncement/maya_template_add_assign_look_placeholder
…ncement/maya_template_add_assign_look_placeholder
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.
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.
@LiborBatek @tokejepsen I think you both thought that "recursive" means "apply to all children hierarchy" and thus expected children meshes to also get assigned or not? It does not mean that. It instead means that say your workfile template, loads a file, e.g. a maya scene that in itself also has placeholders that those placeholders inside that file will also get the look assigned, recursively. When disabled, it will only assign the look on placeholders that should've existed after the initial first load of placeholders, and not those that are recursively included from templates that were loaded in the first iteration. So that the child template being loaded it in itself can also use the assign look placeholder to 'encompass' assignments within itself that are not overridden by the parent template (or it would get overridden if the parent template is recursive, etc. Does that clarify things? So in short, imagine:
The recursiveness would be going through such nesting. |
It does clarify it and its a neat feature I hadn't thought of. But think we'll need some documentation, tooltip or label description for that toggle. Would be a good way for people to discover the recursive workflow as well. |
@BigRoy really cool...also never thought this might be possible! ...I think it would be cool to discuss the templates and workflows in general...and update the user docs, as I can see there is still a lot to cover aka lots of things not covered ! (as I am finding more and more features of the templates workflow every day!) |
…ancement/maya_template_add_assign_look_placeholder # Conflicts: # server_addon/maya/client/ayon_maya/plugins/workfile_build/assign_look_placeholder.py
I've made the PR compatible with the moved client code of
Having documentation would be nice - but as far as I know that's a separate repo currently? Is that something you may be able to contribute knowledge for @LiborBatek - especially because recently on discord I recall you sharing some workfile template videos that might be nice there too (or even just some written demo of the general workfile templates workflow maybe?) |
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.
not an issue and been resolved by adding tip msg
Changelog Description
Implement a workfile template placeholder plug-in for maya that will create an object set that on populating workfile template will assign the look to all nodes inside the set, including any generated loads from other load placeholders.
This way you can dynamically automatically assign looks on loaded content in workfile templates.
Additional info
This PR relies on:
PlaceholderPlugin
#425I'll keep this PR as a draft until all of those are merged.
Testing notes: