Blender Git Commit Log

Git Commits -> Revision 0ff3f96

Revision 0ff3f96 by Jacques Lucke (master)
March 17, 2021, 15:43 (GMT)
Nodes: make derived link data more obvious in NodeTreeRef

`NodeTreeRef` is a thin wrapper on top of `bNodeTree`. By default it
should not hide anything from the underlying `bNodeTree` (before this
it was hiding muted links).

For convenience some "derived" data is cached on sockets. For example
all the connected sockets when reroutes and muted links are ignored.

A nice side benefit of this refactor is that `NodeTreeRef` requires
less memory than before.

Commit Details:

Full Hash: 0ff3f96a1b0193d69dae5ca69e7c93d6cdf34558
Parent Commit: e9eb08f
Lines Changed: +100, -33

2 Modified Paths:

/source/blender/nodes/intern/node_tree_ref.cc (+76, -24) (Diff)
/source/blender/nodes/NOD_node_tree_ref.hh (+24, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021