f4dbe20940762a73959c65593374c0acc29eaebd
When duplicating a layer with layer attribute, caught an assert hit at `attribute_to_writer()` due to size mismatch between attribute domain (layers count) and attribute length. Now fixed by moving `add_node()` prior to `foreach_attribute()`. This way, extra node already added to runtime data and layer count is updated inside `ensure_nodes_cache` with the next layers() call Noticed it during review of !141090 Pull Request: https://projects.blender.org/blender/blender/pulls/141722
…
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%
