mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
tell the user no file type in knobs and ask them to add one
This commit is contained in:
parent
feff57de37
commit
704620287c
1 changed files with 2 additions and 2 deletions
|
|
@ -92,8 +92,8 @@ class WriteNodeKnobSettingPanel(nukescripts.PythonPanel):
|
|||
|
||||
ext_knob_list = [knob for knob in knobs if knob["name"] == "file_type"]
|
||||
if not ext_knob_list:
|
||||
nuke.message("No file type found in the subset's knobs.\nDefault file_type value will be used..") # noqa
|
||||
break
|
||||
nuke.message("No file type found in the subset's knobs.\nPlease add one...") # noqa
|
||||
return
|
||||
else:
|
||||
for knob in ext_knob_list:
|
||||
ext = knob["value"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue