Blender Git Loki

Git Commits -> Revision d02d868

June 14, 2021, 14:34 (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: d02d868f263368f76697890b6c67e8841d61640d
Parent Commit: 13a36f3
Committed By: Bastien Montagne
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