Sean Kim 1f003c08ee Fix #137449: Face Set gesture in Dyntopo doesn't create attribute
Prior to this commit, Using the gesture Face Set operators on a mesh
that doesn't have the `.sculpt_face_set` attribute created would lead to
invalid data being written and ultimately a crash.

To fix this, use the `ensure_face_sets_bmesh` function.

This commit also ensures that the `find_next_available_id` function
doesn't return `1` for the next face set id for BMesh.

Pull Request: https://projects.blender.org/blender/blender/pulls/137492
2025-04-15 03:51:01 +02:00
2023-12-08 13:28:13 +11:00
2025-01-08 16:42:50 +01:00
2025-03-12 21:55:59 +11:00

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.

Blender screenshot

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
No description provided
Readme 841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%