mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
mark 'newAssetPublishing' as deprecated since 24/06/06
This commit is contained in:
parent
cfe6ae1c67
commit
4cbbe322b5
8 changed files with 10 additions and 10 deletions
|
|
@ -393,7 +393,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
|
|||
|
||||
if (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
):
|
||||
hierarchy = instance.data["hierarchy"]
|
||||
|
|
@ -438,7 +438,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
|
|||
# - if we're in editorial, make sure the task type is filled
|
||||
new_hierarchy = (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
)
|
||||
if not new_hierarchy or task_data["type"]:
|
||||
|
|
@ -448,7 +448,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
|
|||
# New hierarchy is not created, so we can only skip rest of the logic
|
||||
new_hierarchy = (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
)
|
||||
if not new_hierarchy:
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class ValidateFolderEntities(pyblish.api.InstancePlugin):
|
|||
|
||||
elif (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
):
|
||||
# skip if it is editorial
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ class CollectTimelineInstances(pyblish.api.ContextPlugin):
|
|||
for task in self.add_tasks},
|
||||
"representations": [],
|
||||
"newHierarchyIntegration": True,
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
"newAssetPublishing": True,
|
||||
})
|
||||
self.log.debug("__ inst_data: {}".format(pformat(inst_data)))
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
|
|||
# add all additional tags
|
||||
"tags": phiero.get_track_item_tags(track_item),
|
||||
"newHierarchyIntegration": True,
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
"newAssetPublishing": True,
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
|
|||
"handleStart": handle_start,
|
||||
"handleEnd": handle_end,
|
||||
"newHierarchyIntegration": True,
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
"newAssetPublishing": True,
|
||||
"families": ["clip"],
|
||||
"productType": product_type,
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ or updating already created. Publishing will create OTIO file.
|
|||
"variant": variant_name,
|
||||
"task": None,
|
||||
"newHierarchyIntegration": True,
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
"newAssetPublishing": True,
|
||||
"trackStartFrame": track_start_frame,
|
||||
"timelineOffset": timeline_offset,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class CollectSequenceFrameData(
|
|||
# editorial would fail since they might not be in database yet
|
||||
new_hierarchy = (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
)
|
||||
if new_hierarchy:
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class ValidateFrameRange(OptionalPyblishPluginMixin,
|
|||
# editorial would fail since they might not be in database yet
|
||||
new_hierarchy = (
|
||||
instance.data.get("newHierarchyIntegration")
|
||||
# Backwards compatible
|
||||
# Backwards compatible (Deprecated since 24/06/06)
|
||||
or instance.data.get("newAssetPublishing")
|
||||
)
|
||||
if new_hierarchy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue