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