Previously the function had a fair amount of ugly boilerplate to avoid
allocating the temporary layers array, and then free it if necessary.
blender::Vector solves that problem more elegantly. Passing a span,
using references in a few cases, and using a switch statement also make
the functions simpler.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender