23cd299ba7e039e25a2b2f7107728ed010846808
Supporting selection operators and overlays in sculpt mode is necessary to support masking operations. This enables selection drawing in the overlay in sculpt mode, and ensures all the necessary operators (pick, lasso, circle, box) handle the differences in modes correctly. The selection code so far was expecting object mode, so the `vc->obedit` object was used without further checks. Now the selection code can be called outside of edit mode, in which case the `vc->obact` object must be used instead. Similarly edit mode and sculpt mode have separate `selectmode` flags, so the correct mode property must be used from the tool settings depending on the object mode. These changes require some refactoring of unrelated selection code. Pull Request: https://projects.blender.org/blender/blender/pulls/128040
…
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%
