mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
create beauty has more data
This commit is contained in:
parent
1704499093
commit
ceac453ed4
1 changed files with 9 additions and 5 deletions
|
|
@ -40,15 +40,19 @@ class CreateBeauty(pipeline.TVPaintCreator):
|
|||
existing_instance_idx = idx
|
||||
break
|
||||
|
||||
fill_data = {
|
||||
self.data["group_id"] = group_id
|
||||
|
||||
name = self.data["subset"]
|
||||
self.data["name"] = name
|
||||
|
||||
subset_name = self.subset_template.format(**{
|
||||
"family": self.family,
|
||||
"task": avalon.io.Session["AVALON_TASK"],
|
||||
"name": "name",
|
||||
"name": name,
|
||||
"pass": "beauty"
|
||||
}
|
||||
subset_name = self.subset_template.format(**fill_data)
|
||||
})
|
||||
self.data["subset"] = subset_name
|
||||
self.data["group_id"] = group_id
|
||||
|
||||
if existing_instance is not None:
|
||||
if existing_instance == self.data:
|
||||
self.log.info("Instance to create is same. Did nothing.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue