-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add slapcomp compatibility #5
base: master
Are you sure you want to change the base?
Conversation
self.flow_file.setEnabled(state) | ||
self.brows_file_btn.setEnabled(state) | ||
|
||
def on_brows_clicked(self): |
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.
Typo, brows
-> browse
|
||
cmds.setAttr("{}.priority".format(instance), settings["priority"]) | ||
# Format to Maya default | ||
# attr_name = key[0].lower() + key[1:] |
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.
Commented line can be removed
Some typos, other than that looks nice. |
Fixed the minor points, only merge when config has been merged |
Also typo in variable name right? :) |
@@ -29,14 +37,28 @@ def setup_ui(self): | |||
|
|||
publish = QtWidgets.QCheckBox("Suspend Publish Job") | |||
defaultlayer = QtWidgets.QCheckBox("Include Default Render Layer") | |||
run_slap_comp = QtWidgets.QCheckBox("Run Slap Comp") | |||
|
|||
brows_hlayout = QtWidgets.QHBoxLayout() |
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.
Hehe, sorry @aardschok - noticed just right now there are actually much more variables with brows
instead of browse
- this line and the lines below (45 to 54, 120, 131)
@@ -29,21 +51,21 @@ def query(argument): | |||
|
|||
def get_machine_list(debug=None): | |||
"""Fetch the machine list (slaves) from Deadline""" | |||
AVALON_SESSION = debug or avalon.Session["AVALON_DEADLINE"] | |||
AVALON_SESSION = debug or api.Session["AVALON_DEADLINE"] |
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.
Does it make more sense to call this variable avalon_deadline
or something? It's not actually the session. :) Also in the other methods.
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.
LOL, this slipped in without me even noticing. I know I wanted to call it AVALON_DEADLINE :')
After the config PR has been updated we can merge this along with it. |
Adds UI elements to control slap comp submission
Minor code improvements