-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert addon for new ayon core #2
Conversation
if frame_start is None or frame_end is None: | ||
log.warning("No edit information found for {}".format(asset_name)) | ||
log.warning("No edit information found for {}".format(folder_path)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know folder entities in AYON always have attrib.frameStart
and attrib.frameEnd
. When it does not that would be considered a bug in the backend? Right? If that's ensured to exist always on a folder then maybe this is None
check can be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do with task entity PR :)
folder_entity = get_current_folder_entity(fields={"path", "attrib"}) | ||
folder_path = folder_entity["path"] | ||
folder_attribs = folder_entity["attrib"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since AYON core refactoring many other DCCs swapped this out with using the attributes from the Task Entity instead. Should this as well? get_current_task_entity
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted, but then I was like: That should be different PR, it can be in changelog.
…working into bpc/main Reviewed-on: https://git.bepic.berlin/ayon/ayon-openrv/pulls/2
Description
Changes related to 0.3.0 release of ayon core. All changes happened in client code.
Additional information
Use
ayon_core
overopenpype
.Testing notes