ynput / ayon-nuke

Nuke addon for AYON
Apache License 2.0
4 stars 11 forks source link

AY-1266_Nuke: outdated loader containers validation enhancements #20

Open ynbot opened 2 months ago

ynbot commented 2 months ago

Please describe the enhancement you have in mind and explain what the current shortcomings are?

tatiana_43379 : Nuke: outdated loader containers validation enhancements tatiana_43379: From previous discussion: Currently, all containers in the script, even if they are disabled, are included in the validation process. The ideal situation would be to only validate the connected container in the rendering stream. However, determining if a container is used in the stream could be a complex function. It is worth researching if this functionality is part of nukescripts. Alternatively, we could exclude disabled nodes from the validated nodes.

How would you imagine the implementation of the enhancemenent?

No response

Describe alternatives you've considered:

No response

Additional context:

link to discussion on Discord (might be a private channel)

This issue was automatically created from Clickup ticket AY-1266

jakubjezek001 commented 1 month ago

Description

Currently, all containers in the script, even if they are disabled, are included in the validation process. The ideal situation would be to only validate the connected container in the rendering stream. However, determining if a container is used in the stream could be a complex function. It is worth researching if this functionality is part of nukescripts. Alternatively, we could exclude disabled nodes from the validated nodes.

Tasks

ReeceMulley commented 1 month ago
  • Research if nukescripts includes functionality to determine if a container is used in the rendering stream.

we've run nuke.selectConnectedNodes() on a script's write node + some basic node class checking to achieve this in the dark ages before ayon/openpype. Prerenders can be a problem though