Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

AfterEffects: Use client query functions #3374

Merged

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jun 20, 2022

Brief description

Modified AfterEffects host to use query functions from PR.

Description

AfterEffects is using query functions from openpype.client to get assets. Function get_asset_settings expects asset document to be passed.

Question

Function get_asset_settings is used only in plugin ValidateSceneSettings which always used asset from current context to get expected data which does not seem to make much sense? Shouldn't that plugin be context plugins instead of instance plugin? Or should it pass asset document from context data instead of instance data? Not sure if is possible to have multiple instances for different assets in afters...

Testing notes:

Workfile creator

  1. Run legacy workfile creator

Validator

  1. Run publishing (ideally with more complex scene with multiple instances)
  2. Validate scene settings should work

@iLLiCiTiT iLLiCiTiT requested a review from kalisp June 20, 2022 16:33
@iLLiCiTiT iLLiCiTiT self-assigned this Jun 20, 2022
@ynbot
Copy link
Contributor

ynbot commented Jun 20, 2022

Task linked: OP-3376 Use query functions in AfterEffects

@iLLiCiTiT iLLiCiTiT added host: After Effects type: refactor Structural changes not affecting functionality labels Jun 20, 2022
@iLLiCiTiT iLLiCiTiT requested a review from 64qam June 20, 2022 16:49
@iLLiCiTiT iLLiCiTiT merged commit 8545644 into develop Jun 21, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-3376_Use-query-functions-in-AfterEffects branch June 21, 2022 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: After Effects type: refactor Structural changes not affecting functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants