3bdc1bfd0a8618976c3a9109adfcbd0e2fbe83fe
In order to copy vertex group weights when subdividing strokes the groups (`bDeformGroup`) must be created in advance, so that the attribute wrappers correctly write to `CD_MDEFORMVERT` layer instead of creating simple `CD_PROP_FLOAT` layers. In addition the subdivision function must take care to fully write the destination arrays, since initial values must be considered uninitialized (this is obfuscated for simple CustomData arrays but breaks with more complex attributes that use a buffer). In order to ensure fully defined destination buffers without additional copies, the `finish` call to attribute writers is postponed until the unselected attribute values have also been copied from input buffers and all the values are properly defined. Pull Request: https://projects.blender.org/blender/blender/pulls/132854
…
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%
