mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'develop' into enhancement/OP-8206_Core-use-AYON-settings
This commit is contained in:
commit
a4b28a3532
4 changed files with 7 additions and 10 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import pyblish.api
|
||||
|
||||
from bson.objectid import ObjectId
|
||||
|
||||
from ayon_core.client import get_representations
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
]
|
||||
)
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue