Skip to content

Commit

Permalink
Save FramesPerTask as a setting
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Hughes <[email protected]>
  • Loading branch information
Ahuge committed Dec 11, 2024
1 parent aa7b65f commit 38e8303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deadline/ae_submitter/UI/AESubmitterUI.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function __generateSubmitterUI() {
} else {
initFirstAndLast = dcUtil.parseBool(dcSettings.getIniSetting("FirstAndLast", "false"));
}
var initFramesPerTask = parseInt(dcSettings.getIniSetting("FramesPerTask", "10"));

var initIgnoreMissingLayers = dcUtil.parseBool(dcSettings.getIniSetting("MissingLayers", "false"));
var initIgnoreMissingEffects = dcUtil.parseBool(dcSettings.getIniSetting("MissingEffects", "false"));
Expand Down Expand Up @@ -672,7 +673,7 @@ function __generateSubmitterUI() {
frameListGroup.useCompFrameList.value = initUseCompFrameRange;
frameListGroup.useCompFrameList.helpTip = 'If enabled, the Comp\'s frame list will be used instead of the frame list in this submitter.';

frameListGroup.framesPerTask = frameListGroup.add('edittext', undefined, 10);
frameListGroup.framesPerTask = frameListGroup.add('edittext', undefined, initFramesPerTask);
frameListGroup.framesPerTask.size = SHORT_TEXT_SIZE;
frameListGroup.framesPerTaskLabel = frameListGroup.add('statictext', undefined, 'Frames Per Task');
frameListGroup.framesPerTaskLabel.size = LABEL_SIZE;
Expand Down

0 comments on commit 38e8303

Please sign in to comment.