Blender Git Loki

Git Commits -> Revision de6bf5d

Revision de6bf5d by Jacques Lucke (master)
October 18, 2021, 13:22 (GMT)
Nodes: support sharing node declarations between nodes

Previously, every node had its own declaration. This isn't ideal, because
it's often the case that all nodes of the same type have the same declaration.
That's the case for all nodes using declarations currently. It will not be true
for e.g. group nodes in the future.

Sharing node declarations between nodes makes it a bit more efficient.

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

Commit Details:

Full Hash: de6bf5d4d2f1f832f8305c519fc88d8896ea9a0b
Parent Commit: e150f17
Lines Changed: +33, -10

2 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+29, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021