Skip to content

Commit

Permalink
Merge pull request #27 from ynput/enhancement/use-ayon-container-id
Browse files Browse the repository at this point in the history
Chore: Use AYON container id
  • Loading branch information
iLLiCiTiT authored Jan 27, 2025
2 parents cc15c20 + 15fca6b commit 636e195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/ayon_tvpaint/api/launch_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def signal_handler(*_args):
qt_app.setQuitOnLastWindowClosed(False)
qt_app.setStyleSheet(style.load_stylesheet())

# Load avalon icon
# Load AYON icon
icon_path = style.app_icon_path()
if icon_path:
icon = QtGui.QIcon(icon_path)
Expand Down
6 changes: 3 additions & 3 deletions client/ayon_tvpaint/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from ayon_core.pipeline import (
register_loader_plugin_path,
register_creator_plugin_path,
AVALON_CONTAINER_ID,
AYON_CONTAINER_ID,
)
from ayon_core.pipeline.context_tools import get_global_context

Expand Down Expand Up @@ -244,8 +244,6 @@ def containerise(
"""

container_data = {
"schema": "openpype:container-2.0",
"id": AVALON_CONTAINER_ID,
"members": members,
"name": name,
"namespace": namespace,
Expand Down Expand Up @@ -474,6 +472,8 @@ def get_containers():
output = get_workfile_metadata(SECTION_NAME_CONTAINERS)
if output:
for item in output:
item["schema"] = "ayon:container-3.0"
item["id"] = AYON_CONTAINER_ID
if "objectName" not in item and "members" in item:
members = item["members"]
if isinstance(members, list):
Expand Down

0 comments on commit 636e195

Please sign in to comment.