88a786025126650b0b4471c70858b93203ef2388
Don't call `MEM_dupallocN` on unknown data. We don't know that this pointer references a heap allocation, especially not an allocation made by Blender's allocator. Even if that's the case currently, we don't want to rely on that in the future as attribute data management gets more flexible with implicit sharing. Using `Array` is a simpler way to copy memory, though it does require a bunch of boilerplate changes in the rest of the modifier.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
