ynput / ayon-houdini

Houdini addon for AYON
Apache License 2.0
11 stars 9 forks source link

Use Task level attributes instead of folder #14

Closed MustafaJafar closed 4 months ago

MustafaJafar commented 4 months ago

Is there an existing issue for this?

Current Behavior:

Houdini addon uses folder level attributes e.g. frame range

Expected Behavior:

It should use task level attributes.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

This is an example,

  1. On AYON Server, change frame range on task
  2. In Houdini, use Set Frame Range, frame range will be reset to folder frame range not task.

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response

MustafaJafar commented 4 months ago

Questions:

  1. Could some one provide me a list of attributes ?
    • fps
    • resolution
    • frame start
    • frame end
  2. Should we have toggle to switch between task an folder attributes ?
BigRoy commented 4 months ago

Should we have toggle to switch between task an folder attributes ?

No, in a recent similar PR for Max or Maya I believe it came up that these attributes must always exist on tasks (and inherit by default from parents). So we should be able to rely on these from just the task entity. @iLLiCiTiT confirmed that somewhere, but I can't find it.

I think we're looking for these attributes to be available like that on Task entities:

image

iLLiCiTiT commented 4 months ago

Confirming again. We should use only task attributes (if task is set). Task inherit attribute values from parent folder.