Blender Git Loki

Git Commits -> Revision 145515e

June 11, 2021, 14:31 (GMT)
Nodes: cache socket identifier to index mapping

While this preprocessing does take some time upfront,
it avoids longer lookup later on, especially as nodes get
more sockets.

It's probably possible to make this more efficient in some cases
but this is good enough for now.

Commit Details:

Full Hash: 145515e210484e733225b26221cb0a5d63295b89
Parent Commit: 0d5e4bb
Committed By: Sybren A. Stüvel
Lines Changed: +130, -31

4 Modified Paths:

/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+10, -31) (Diff)
/source/blender/nodes/intern/node_tree_ref.cc (+86, -0) (Diff)
/source/blender/nodes/NOD_derived_node_tree.hh (+13, -0) (Diff)
/source/blender/nodes/NOD_node_tree_ref.hh (+21, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021