Blender Git Commit Log

Git Commits -> Revision 4225a18

Revision 4225a18 by Jacques Lucke (master)
April 29, 2021, 13:42 (GMT)
Function: add method to create shallow copy of virtual array

Creating a shallow copy is sometimes useful to get a unique ptr
for a virtual array when one only has a reference. It shouldn't
be used usually, but sometimes its the fastest way to do correct
ownership handling.

Commit Details:

Full Hash: 4225a18b35f071ae1ff01c54b475ad396c77febc
Parent Commit: 4194545
Lines Changed: +59, -3

2 Modified Paths:

/source/blender/functions/FN_generic_virtual_array.hh (+8, -3) (Diff)
/source/blender/functions/intern/generic_virtual_array.cc (+51, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021