Hello!
I’ve been tinkering with the publisher inside of Maya, building a setup that I’m sure is possibly wrong and a bit outside of how it was intended.
The setup allows you to publish objects that are grouped by Sets in Maya.
Simply exporting those objects to a file and publishing that. Ie, avoiding the scene publishing.
I’ve hit a small issue with the item hierarchy in this setup, where I seem to be forced to create 2 items, 1 “parent” item, and 1 “child” before I’m able to get a Context Widget to show.
For example:
In the collector hook, when building items, I need to create an item under the parent_item, then another underneath that (that the plugin hook attaches to) in order to get a Context widget (which appears on the first item created).
If I only create 1 item under the parent_item, I get no Context widget, only the Thumbnail and Description widgets.
However, when I look at the standalone publisher and select a bunch of single files. I get a cleaner setup:
1 item, with a context widget that my publish plugin connects to.
I’m assuming this is the difference between the “process_current_session” and “process_file”?
Is it possible to match the standalone hierarchy inside a DCC session? Or am I just doing something wrong entirely here?
Here’s some side-by-side images that might make it more clear.
Any help is much appreciated, thank you!