Page MenuHome

Remove incorrect cast in rna_NodeTree_update

Authored by Robert Guetzkow (rjg) on Fri, May 15, 6:21 PM.



This patch fixes T76277 by removing the incorrect cast from ptr->data to bNode. The address of ptr->owner_id and ptr->data both point to the node tree. Passing the node tree incorrectly as a node into the ED_node_tag_update_nodetree corrupts the data, because it attempts to set flags on the node.

Diff Detail

rB Blender

Event Timeline

Robert Guetzkow (rjg) requested review of this revision.Fri, May 15, 6:21 PM

This change has already been approved in T76277#932485.

This revision was not accepted when it landed; it landed in state Needs Review.Fri, May 15, 6:37 PM
This revision was automatically updated to reflect the committed changes.