Page MenuHome

Fix T99880: Passing Span<bNode *> in to node_get_execution_time to eval current node tree level
AbandonedPublic

Authored by Iliya Katueshenock (Moder) on Jul 21 2022, 2:29 PM.

Details

Summary

Now the calculation of the frame nodes
occurs with the using const bNodeTree &ntree.
But it contains only the top level of the tree, which
is why more levels than first nodes of the frame is not
taken into account. This patch replaces it with a
visible node level span, which fixes the bug.

Bugfix:

Report:
https://developer.blender.org/T99880

Diff Detail

Event Timeline

Iliya Katueshenock (Moder) requested review of this revision.Jul 21 2022, 2:29 PM
Iliya Katueshenock (Moder) created this revision.
Iliya Katueshenock (Moder) edited the summary of this revision. (Show Details)
Iliya Katueshenock (Moder) retitled this revision from Fix T99880: Passing in node_get_execution_time Span<bNode *> to traverse current node tree level to Fix T99880: Passing in node_get_execution_time Span<bNode *> to eval current node tree level.Jul 21 2022, 2:33 PM
Iliya Katueshenock (Moder) retitled this revision from Fix T99880: Passing in node_get_execution_time Span<bNode *> to eval current node tree level to Fix T99880: Passing Span<bNode *> in node_get_execution_time to eval current node tree level.Jul 21 2022, 5:16 PM
Iliya Katueshenock (Moder) retitled this revision from Fix T99880: Passing Span<bNode *> in node_get_execution_time to eval current node tree level to Fix T99880: Passing Span<bNode *> in to node_get_execution_time to eval current node tree level.
Iliya Katueshenock (Moder) edited the summary of this revision. (Show Details)