Skip to content

Commit

Permalink
feat: Append jobs from the config file to JobTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
KernAttila committed Mar 28, 2023
1 parent 50810b3 commit b2df688
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cuesubmit/cuesubmit/JobTypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

from builtins import object
from cuesubmit.ui import SettingsWidgets
from cuesubmit import Constants


class JobTypes(object):
Expand All @@ -36,13 +37,15 @@ class JobTypes(object):
MAYA = 'Maya'
NUKE = 'Nuke'
BLENDER = 'Blender'
FROM_CONFIG = Constants.RENDER_CMDS.keys()

SETTINGS_MAP = {
SHELL: SettingsWidgets.ShellSettings,
MAYA: SettingsWidgets.BaseMayaSettings,
NUKE: SettingsWidgets.BaseNukeSettings,
BLENDER: SettingsWidgets.BaseBlenderSettings,
}
SETTINGS_MAP.update(Constants.RENDER_CMDS)

def __init__(self):
pass
Expand Down

0 comments on commit b2df688

Please sign in to comment.