mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hound
This commit is contained in:
parent
dfea365474
commit
f5215f323b
1 changed files with 2 additions and 9 deletions
|
|
@ -5,7 +5,6 @@ from openpype.hosts.fusion.api import (
|
|||
get_current_comp,
|
||||
comp_lock_and_undo_chunk,
|
||||
)
|
||||
from openpype.hosts.fusion.api.lib import get_frame_path
|
||||
|
||||
from openpype.lib import (
|
||||
BoolDef,
|
||||
|
|
@ -17,9 +16,6 @@ from openpype.pipeline import (
|
|||
CreatedInstance,
|
||||
Anatomy
|
||||
)
|
||||
from openpype.client import (
|
||||
get_asset_by_name,
|
||||
)
|
||||
|
||||
|
||||
class CreateSaver(NewCreator):
|
||||
|
|
@ -173,14 +169,11 @@ class CreateSaver(NewCreator):
|
|||
tool.SetAttrs({"TOOLS_Name": subset})
|
||||
|
||||
def _collect_saver(self, tool):
|
||||
print("Collecting saver..")
|
||||
self.log.info("Collecting saver..")
|
||||
attrs = tool.GetAttrs()
|
||||
|
||||
ctx_data = {}
|
||||
keys = ["id", "asset", "subset", "task", "variant"]
|
||||
for key in keys:
|
||||
ctx_data[key] = tool.GetData(f"openpype.{key}")
|
||||
|
||||
ctx_data = {key: tool.GetData(f"openpype.{key}") for key in keys}
|
||||
passthrough = attrs["TOOLB_PassThrough"]
|
||||
return {
|
||||
# Required data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue