mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use 'newHierarchyIntegration' over 'newAssetPublishing' in hosts
This commit is contained in:
parent
8f7882ae28
commit
cfe6ae1c67
11 changed files with 27 additions and 11 deletions
|
|
@ -152,7 +152,9 @@ class CollectTimelineInstances(pyblish.api.ContextPlugin):
|
||||||
task["name"]: {"type": task["type"]}
|
task["name"]: {"type": task["type"]}
|
||||||
for task in self.add_tasks},
|
for task in self.add_tasks},
|
||||||
"representations": [],
|
"representations": [],
|
||||||
"newAssetPublishing": True
|
"newHierarchyIntegration": True,
|
||||||
|
# Backwards compatible
|
||||||
|
"newAssetPublishing": True,
|
||||||
})
|
})
|
||||||
self.log.debug("__ inst_data: {}".format(pformat(inst_data)))
|
self.log.debug("__ inst_data: {}".format(pformat(inst_data)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""Package declaring AYON addon 'flame' version."""
|
"""Package declaring AYON addon 'flame' version."""
|
||||||
__version__ = "0.2.0"
|
__version__ = "0.2.1"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name = "flame"
|
name = "flame"
|
||||||
title = "Flame"
|
title = "Flame"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
|
|
||||||
client_dir = "ayon_flame"
|
client_dir = "ayon_flame"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,9 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
|
||||||
|
|
||||||
# add all additional tags
|
# add all additional tags
|
||||||
"tags": phiero.get_track_item_tags(track_item),
|
"tags": phiero.get_track_item_tags(track_item),
|
||||||
"newAssetPublishing": True
|
"newHierarchyIntegration": True,
|
||||||
|
# Backwards compatible
|
||||||
|
"newAssetPublishing": True,
|
||||||
})
|
})
|
||||||
|
|
||||||
# otio clip data
|
# otio clip data
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""Package declaring AYON addon 'hiero' version."""
|
"""Package declaring AYON addon 'hiero' version."""
|
||||||
__version__ = "0.2.0"
|
__version__ = "0.2.1"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name = "hiero"
|
name = "hiero"
|
||||||
title = "Hiero"
|
title = "Hiero"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
client_dir = "ayon_hiero"
|
client_dir = "ayon_hiero"
|
||||||
|
|
||||||
ayon_required_addons = {
|
ayon_required_addons = {
|
||||||
|
|
|
||||||
|
|
@ -101,6 +101,8 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
|
||||||
"fps": context.data["fps"],
|
"fps": context.data["fps"],
|
||||||
"handleStart": handle_start,
|
"handleStart": handle_start,
|
||||||
"handleEnd": handle_end,
|
"handleEnd": handle_end,
|
||||||
|
"newHierarchyIntegration": True,
|
||||||
|
# Backwards compatible
|
||||||
"newAssetPublishing": True,
|
"newAssetPublishing": True,
|
||||||
"families": ["clip"],
|
"families": ["clip"],
|
||||||
"productType": product_type,
|
"productType": product_type,
|
||||||
|
|
|
||||||
|
|
@ -676,6 +676,8 @@ or updating already created. Publishing will create OTIO file.
|
||||||
"shotName": shot_name,
|
"shotName": shot_name,
|
||||||
"variant": variant_name,
|
"variant": variant_name,
|
||||||
"task": None,
|
"task": None,
|
||||||
|
"newHierarchyIntegration": True,
|
||||||
|
# Backwards compatible
|
||||||
"newAssetPublishing": True,
|
"newAssetPublishing": True,
|
||||||
"trackStartFrame": track_start_frame,
|
"trackStartFrame": track_start_frame,
|
||||||
"timelineOffset": timeline_offset,
|
"timelineOffset": timeline_offset,
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,12 @@ class CollectSequenceFrameData(
|
||||||
return
|
return
|
||||||
|
|
||||||
# editorial would fail since they might not be in database yet
|
# editorial would fail since they might not be in database yet
|
||||||
new_folder_publishing = instance.data.get("newAssetPublishing")
|
new_hierarchy = (
|
||||||
if new_folder_publishing:
|
instance.data.get("newHierarchyIntegration")
|
||||||
|
# Backwards compatible
|
||||||
|
or instance.data.get("newAssetPublishing")
|
||||||
|
)
|
||||||
|
if new_hierarchy:
|
||||||
self.log.debug("Instance is creating new folders. Skipping.")
|
self.log.debug("Instance is creating new folders. Skipping.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,12 @@ class ValidateFrameRange(OptionalPyblishPluginMixin,
|
||||||
return
|
return
|
||||||
|
|
||||||
# editorial would fail since they might not be in database yet
|
# editorial would fail since they might not be in database yet
|
||||||
new_folder_publishing = instance.data.get("newAssetPublishing")
|
new_hierarchy = (
|
||||||
if new_folder_publishing:
|
instance.data.get("newHierarchyIntegration")
|
||||||
|
# Backwards compatible
|
||||||
|
or instance.data.get("newAssetPublishing")
|
||||||
|
)
|
||||||
|
if new_hierarchy:
|
||||||
self.log.debug("Instance is creating new folder. Skipping.")
|
self.log.debug("Instance is creating new folder. Skipping.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name = "traypublisher"
|
name = "traypublisher"
|
||||||
title = "TrayPublisher"
|
title = "TrayPublisher"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
|
|
||||||
client_dir = "ayon_traypublisher"
|
client_dir = "ayon_traypublisher"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue