mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update Ayon settings and Nuke server version
- Updated Ayon settings to remove the 'ExtractThumbnail' schema in v3 - Updated Nuke server version from 0.1.6 to 0.1.7
This commit is contained in:
parent
ddfb95467e
commit
fafb34ffc0
2 changed files with 1 additions and 23 deletions
|
|
@ -821,28 +821,6 @@ def _convert_nuke_project_settings(ayon_settings, output):
|
|||
collect_instance_data.pop(
|
||||
"sync_workfile_version_on_product_types"))
|
||||
|
||||
# TODO 'ExtractThumbnail' does not have ideal schema in v3
|
||||
ayon_extract_thumbnail = ayon_publish["ExtractThumbnail"]
|
||||
new_thumbnail_nodes = {}
|
||||
for item in ayon_extract_thumbnail["nodes"]:
|
||||
name = item["nodeclass"]
|
||||
value = []
|
||||
for knob in _convert_nuke_knobs(item["knobs"]):
|
||||
knob_name = knob["name"]
|
||||
# This may crash
|
||||
if knob["type"] == "expression":
|
||||
knob_value = knob["expression"]
|
||||
else:
|
||||
knob_value = knob["value"]
|
||||
value.append([knob_name, knob_value])
|
||||
new_thumbnail_nodes[name] = value
|
||||
|
||||
ayon_extract_thumbnail["nodes"] = new_thumbnail_nodes
|
||||
|
||||
if "reposition_nodes" in ayon_extract_thumbnail:
|
||||
for item in ayon_extract_thumbnail["reposition_nodes"]:
|
||||
item["knobs"] = _convert_nuke_knobs(item["knobs"])
|
||||
|
||||
# --- ImageIO ---
|
||||
# NOTE 'monitorOutLut' is maybe not yet in v3 (ut should be)
|
||||
_convert_host_imageio(ayon_nuke)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "0.1.6"
|
||||
__version__ = "0.1.7"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue