Blender Git Loki

Git Commits -> Revision 001d70e

Revision 001d70e by Robert Guetzkow (master)
May 15, 2020, 16:29 (GMT)
Fix T76277: Remove wrong cast in rna_NodeTree_update

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.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7747

Commit Details:

Full Hash: 001d70eb2bfe94a48de6d104f9cc21de112d6ebe
Parent Commit: 9632a06
Lines Changed: +1, -2

1 Modified Path:

/source/blender/makesrna/intern/rna_nodetree.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021