Closed simonebarbieri closed 3 months ago
Task linked: AY-5632 use task level attributes instead of asset
For what it's worth - looking at the code I see nothing related to "task level attributes" versus asset level attributes. Is the PR title and description wrong maybe?
Regarding to the comment above, we need to also adjust the get_folder_attributes
function in pipeline.py
. And there should be possible change of the function name.
Instead of merely using folder entity, we use task entity and we can use the folder entity as backward compatibility(maybe or maybe not).
The function which can get the related data from task entity(take below as example)
from ayon_core.pipeline.context_tools import get_current_task_entity
task_attributes = get_current_task_entity(fields={"attrib"})["attrib"]
PR moved to ayon-blender repository https://github.com/ynput/ayon-blender/pull/1
Changelog Description
Improved creators to set up scene properties instead of using asset-level attributes.
Testing notes:
The creators and the extractors that have been updated should be tested to check if they're using the information set in the creator.