mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update client/ayon_core/hosts/maya/plugins/publish/validate_alembic_options_defaults.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
9aff312158
commit
40eea9652c
1 changed files with 2 additions and 3 deletions
|
|
@ -74,9 +74,8 @@ class ValidateAlembicOptionsDefaults(
|
|||
def repair(cls, instance):
|
||||
# Find create instance twin.
|
||||
create_context = instance.context.data["create_context"]
|
||||
create_instance = next(
|
||||
inst for inst in create_context.instances
|
||||
if inst.data["instance_id"] == instance.data["instance_id"]
|
||||
create_instance = create_context.get_instance_by_id(
|
||||
instance.data["instance_id"])
|
||||
)
|
||||
|
||||
# Set the settings values on the create context then save to workfile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue