mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'develop' into enhancement/borisfx_sillhouette_validate_outdated_containers
This commit is contained in:
commit
e36762844b
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ import os
|
||||||
import logging
|
import logging
|
||||||
import collections
|
import collections
|
||||||
|
|
||||||
from ayon_core.pipeline.constants import AVALON_INSTANCE_ID
|
from ayon_core.pipeline.constants import AYON_INSTANCE_ID
|
||||||
|
|
||||||
from .product_name import get_product_name
|
from .product_name import get_product_name
|
||||||
|
|
||||||
|
|
@ -34,7 +34,7 @@ class LegacyCreator:
|
||||||
# Default data
|
# Default data
|
||||||
self.data = collections.OrderedDict()
|
self.data = collections.OrderedDict()
|
||||||
# TODO use 'AYON_INSTANCE_ID' when all hosts support it
|
# TODO use 'AYON_INSTANCE_ID' when all hosts support it
|
||||||
self.data["id"] = AVALON_INSTANCE_ID
|
self.data["id"] = AYON_INSTANCE_ID
|
||||||
self.data["productType"] = self.product_type
|
self.data["productType"] = self.product_type
|
||||||
self.data["folderPath"] = folder_path
|
self.data["folderPath"] = folder_path
|
||||||
self.data["productName"] = name
|
self.data["productName"] = name
|
||||||
|
|
|
||||||
|
|
@ -492,7 +492,7 @@ class CreatedInstance:
|
||||||
item_id = data.get("id")
|
item_id = data.get("id")
|
||||||
# TODO use only 'AYON_INSTANCE_ID' when all hosts support it
|
# TODO use only 'AYON_INSTANCE_ID' when all hosts support it
|
||||||
if item_id not in {AYON_INSTANCE_ID, AVALON_INSTANCE_ID}:
|
if item_id not in {AYON_INSTANCE_ID, AVALON_INSTANCE_ID}:
|
||||||
item_id = AVALON_INSTANCE_ID
|
item_id = AYON_INSTANCE_ID
|
||||||
self._data["id"] = item_id
|
self._data["id"] = item_id
|
||||||
self._data["productType"] = product_type
|
self._data["productType"] = product_type
|
||||||
self._data["productName"] = product_name
|
self._data["productName"] = product_name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue