6697dc25610b4e1573e1e850b3a8ad901c9f6517
Fix #142045 crash on performing bevel operation on border edges. When user selected both border edges and neigboring edges (parallel to those border egdes) for the bevel operation, the former were omitted during construction of BevVert objects but their initial UV connectivity were recorded during call to determine_uv_vert_connectivity function - specifically BMLoop pointers were stored in BevelParams::uv_vert_maps member. This later caused issues after rebuilding existing polygons (bevel_rebuild_existing_polygons) since previously recorded BMLoop pointers became invalid for border edges but still were stored in uv_vert_maps (uv_vert_map_pop function was not called for them since those loops were not related to BevVert objects). This caused crash when accessing UV positions, when providing invalid loop pointer to BM_ELEM_CD_GET_FLOAT_P function in bevel_merge_uvs.
…
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%
