This should be flagged up in the built in sanity checks… if you don’t have any active tiles in Jigsaw rendering checked you won’t get a submission which is problematic if you use an automated submission system like us!
fn CheckActiveJigsawTiles =
(
if SMTDSettings.RegionRenderingMode == #singleFrameMultiRegion or SMTDSettings.RegionRenderingMode == #animationMultiRegion then
(for o in SMTDSettings.MultiRegionData where (o)[1] == true collect true).count != 0
else
true
)
Hi Dave,
We already check for “activeRegions” at the beginning of the “SubmitJobFromUI” function in *_Functions.ms and the submission will fail out if there are no active regions. Are you using Deadline v7.x or just to check, are you saying that your automatic submission system side steps the use of the “SubmitJobFromUI” function and that is why you have implemented it as a private sanity check, which is probably the best thing to do in your custom setup here?
Oh…actually, going through my notes, it looks like we back-ported quite a few SMTD fixes/little features from the v7.x platform into the latest v6.2 maintenance release which was v6.2.1.50, so if you update to this latest version you should have it available, without having to upgrade to v7.x. I’m guessing your currently on v6.2.0.32 or earlier?
local activeRegions = 0
local badRegions = 0
for i in SMTDSettings.MultiRegionData do
(
if i[1] == True do activeRegions+=1
if i[4] == 0 or i[5] == 0 do badRegions +=1
)
if multiRegionRendering do
(
if activeRegions == 0 do
(
try(SMTD_MainRollout.sld_lastSubmissionState.color = red)catch()
return "--FAILED: Multi-Region Rendering Requested, But No Active Regions Found!"
)
if badRegions > 0 do
(
try(SMTD_MainRollout.sld_lastSubmissionState.color = red)catch()
return "--FAILED: Multi-Region Rendering - Bad Regions With ZERO Width Or Height!"
)
)[/code]
Yes the message does pop-up in the dialog but because we have a simple automated system for sending prepass calcuations for Tiles rendering it wasn’t obvious for our artists as to why they had a prepass job but no render job.
I’ve implemented it in our private sanity checks as it should warn you before you press render not just fail the submission.