mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
clean up the code in the extractor
This commit is contained in:
parent
aee1ac1be9
commit
96cc3dd778
1 changed files with 4 additions and 6 deletions
|
|
@ -41,12 +41,10 @@ class ExtractTyCache(publish.Extractor):
|
|||
additional_attributes = instance.data.get("tyc_attrs", {})
|
||||
|
||||
with maintained_selection():
|
||||
job_args = None
|
||||
if instance.data["tycache_type"] == "tycache":
|
||||
job_args = self.get_export_particles_job_args(
|
||||
instance.data["members"],
|
||||
start, end, path,
|
||||
additional_attributes)
|
||||
job_args = self.get_export_particles_job_args(
|
||||
instance.data["members"],
|
||||
start, end, path,
|
||||
additional_attributes)
|
||||
for job in job_args:
|
||||
rt.Execute(job)
|
||||
representations = instance.data.setdefault("representations", [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue