Merge branch 'develop' into enhancement/OP-8206_Core-use-AYON-settings

This commit is contained in:
Jakub Trllo 2024-02-19 14:13:34 +01:00
commit a4b28a3532
4 changed files with 7 additions and 10 deletions

View file

@ -1,7 +1,5 @@
import pyblish.api
from bson.objectid import ObjectId
from ayon_core.client import get_representations

View file

@ -6,7 +6,6 @@ import datetime
import clique
import six
from bson.objectid import ObjectId
import pyblish.api
from ayon_core.client.operations import (
@ -988,7 +987,6 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
"""
return {
"_id": ObjectId(),
"path": self.get_rootless_path(anatomy, path),
"size": os.path.getsize(path),
"hash": source_hash(path),

View file

@ -89,9 +89,13 @@ class ExperimentalTools:
"New publisher",
"Combined creation and publishing into one tool.",
self._show_publisher,
hosts_filter=["blender", "maya", "nuke", "celaction", "flame",
"fusion", "harmony", "hiero", "resolve",
"tvpaint", "unreal"]
hosts_filter=[
"celaction",
"flame",
"harmony",
"hiero",
"resolve",
]
)
]

View file

@ -8,8 +8,6 @@ import sys
import traceback
import uuid
from bson.objectid import ObjectId
from ayon_core.client import (
get_project,
get_assets,
@ -1080,7 +1078,6 @@ class ProjectPushItemProcess:
new_repre_files = []
for (path, rootless_path) in repre_filepaths:
new_repre_files.append({
"_id": ObjectId(),
"path": rootless_path,
"size": os.path.getsize(path),
"hash": source_hash(path),