-
Notifications
You must be signed in to change notification settings - Fork 32
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
Deadline: Remove legacy suspend_publish
attribute definition in favor of publishJobState
#315
Deadline: Remove legacy suspend_publish
attribute definition in favor of publishJobState
#315
Conversation
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.
works in Houdini
Isn't working in Fusion, as instance there is just regular |
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.
When tested in Maya 2024
and set my PublishJobState
to Suspended
it just suspends the actual publish job
and not the render job
and immedeately start to render those...
Is that correct behaviour?? As I was expecting the job simply wont start and being suspended till user resume it...
As seen here that the render job being queing and not suspended
as the publish job
Yes, that is the correct behavior of that particular toggle. It's only about the Publish Job - not the Render Job state. |
I think that in Nuke it has same issue as in Fusion, the toggle is not visible as |
…`render`, `image` and `prerender`. This should be safe because `instance.data.get("farm")` is checked in `process()` and if not true the processing is skipped anyway - so if e.g. a render instance in Fusion is set to render local instead of on the farm the actual attribute definition does show - but the processing of the plug-in is skipped regardless.
Ok, so I took a look at Fusion (and a bit at reading code for Nuke). I wonder how we can actually best 'target' this plug-in so that the attribute definitions show for the instances. Fusion now has two creators, product type "image" and product type "render". To show the attribute definitions for both of those the Anyway, I've added Implemented with 03cfed2 Would love to know if anyone sees any issues - and/or whether it works. it worked for me in Fusion, but definitely give it a test run. And of course, test others hosts as well that use any family
Pretty sure the following should be unaffected since these are not in the
|
@moonyuet does the Suspend Publish ENUM toggle also show in Blender - and does it work? I assume Blender is capable of submitting to Deadline, etc? (according to your log it seems) But does it not create a publish job for it? |
it shows up the enum toggle and it can be submitted to deadline. But it does create a publish job for it. |
This is good - if the publish job works. The toggle doesn't decide whether it gets created or not - it only decides whether it starts "active" (which will be pending at first) or "suspended" |
No - the attribute definitions are static, and only target the main product type - not something during collect stage or any "additional families" set by the creator. As such, unfortunately this is the current "best" behavior. The attribute always shows and does not disable when it becomes irrelevant due to another toggle on the instance. In short, unfortunately that looks correct. That is if when setting render target to FARM that the publish job toggle actually does something. So for now if the enum toggle appears only on instances it CAN be relevant for under certain conditions (e.g. a specific render target) and it works to suspend the publish job or not then this PR is best as it can be. I believe @antirotor has set up some issues tracking the Publisher improvements to be able to make toggles dependent on each other, etc. - I believe it's this one: #133 Also don't think @iLLiCiTiT sees a better way currently? |
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.
I tested Nuke and Fusion, seems ok (with regard of my last comment).
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.
works in Houdini
Ready to merge? |
Changelog Description
Remove legacy
suspend_publish
attribute definition in favor ofpublishJobState
.The Publish Job State became exposed some time ago through a dedicated
EnumDef
replacing the 'legacy'suspend_publish
:Additional info
n/a
Testing notes: