mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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,
|
get_current_comp,
|
||||||
comp_lock_and_undo_chunk,
|
comp_lock_and_undo_chunk,
|
||||||
)
|
)
|
||||||
from openpype.hosts.fusion.api.lib import get_frame_path
|
|
||||||
|
|
||||||
from openpype.lib import (
|
from openpype.lib import (
|
||||||
BoolDef,
|
BoolDef,
|
||||||
|
|
@ -17,9 +16,6 @@ from openpype.pipeline import (
|
||||||
CreatedInstance,
|
CreatedInstance,
|
||||||
Anatomy
|
Anatomy
|
||||||
)
|
)
|
||||||
from openpype.client import (
|
|
||||||
get_asset_by_name,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class CreateSaver(NewCreator):
|
class CreateSaver(NewCreator):
|
||||||
|
|
@ -173,14 +169,11 @@ class CreateSaver(NewCreator):
|
||||||
tool.SetAttrs({"TOOLS_Name": subset})
|
tool.SetAttrs({"TOOLS_Name": subset})
|
||||||
|
|
||||||
def _collect_saver(self, tool):
|
def _collect_saver(self, tool):
|
||||||
print("Collecting saver..")
|
self.log.info("Collecting saver..")
|
||||||
attrs = tool.GetAttrs()
|
attrs = tool.GetAttrs()
|
||||||
|
|
||||||
ctx_data = {}
|
|
||||||
keys = ["id", "asset", "subset", "task", "variant"]
|
keys = ["id", "asset", "subset", "task", "variant"]
|
||||||
for key in keys:
|
ctx_data = {key: tool.GetData(f"openpype.{key}") for key in keys}
|
||||||
ctx_data[key] = tool.GetData(f"openpype.{key}")
|
|
||||||
|
|
||||||
passthrough = attrs["TOOLB_PassThrough"]
|
passthrough = attrs["TOOLB_PassThrough"]
|
||||||
return {
|
return {
|
||||||
# Required data
|
# Required data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue