Blender Git Loki

Git Commits -> Revision 2cda65a

Revision 2cda65a by Jacques Lucke (master)
November 26, 2021, 08:59 (GMT)
Geometry Nodes: avoid allocation when construct varray for single value

Previously, `GVArray::ForSingle` would always allocate a copy of the passed
in value. Now it only does so when the value is too large or not trivial.

Commit Details:

Full Hash: 2cda65a35a61e0bb74f4b2b896feede73c329b59
Parent Commit: 8015433
Lines Changed: +66, -0

2 Modified Paths:

/source/blender/functions/FN_cpp_type.hh (+12, -0) (Diff)
/source/blender/functions/intern/generic_virtual_array.cc (+54, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021