mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
using explicit id keys
This commit is contained in:
parent
3b2a5a09e6
commit
5b32de6d10
2 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ class CreateBeauty(pipeline.TVPaintCreator):
|
|||
self.log.debug("Changing name of the group.")
|
||||
selected_group = None
|
||||
for group_data in groups_data:
|
||||
if group_data["id"] == group_id:
|
||||
if group_data["group_id"] == group_id:
|
||||
selected_group = group_data
|
||||
|
||||
# Rename TVPaint group (keep color same)
|
||||
|
|
@ -109,7 +109,7 @@ class CreateBeauty(pipeline.TVPaintCreator):
|
|||
new_group_name = name.replace(" ", "_")
|
||||
rename_script = self.rename_script_template.format(
|
||||
clip_id=selected_group["clip_id"],
|
||||
group_id=selected_group["id"],
|
||||
group_id=selected_group["group_id"],
|
||||
r=selected_group["red"],
|
||||
g=selected_group["green"],
|
||||
b=selected_group["blue"],
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class CreateRenderPass(pipeline.TVPaintCreator):
|
|||
self.data["name"] = name
|
||||
|
||||
# Collect selected layer ids to be stored into instance
|
||||
layer_ids = [layer["id"] for layer in selected_layers]
|
||||
layer_ids = [layer["layer_id"] for layer in selected_layers]
|
||||
self.data["layer_ids"] = layer_ids
|
||||
|
||||
beauty_subset_name = beauty_instance["subset"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue