ffaf3e30ef8d86730d3336a33ba5088d5e7a63f7
The selection engine has some complex tricks that improve performance. These are: - Only draws objects whose bounding box intersects the selection threshold; - If the viewport or objects are not "dirty", it does not clean the texture IDs and only adds objects that have not yet been drawn; - Only updates the depth buffer if a new object is drawn; - Skip drawing if no object is found; These tricks were initially implemented so that this engine could be used for snapping. But this initial idea has changed and now the engine is only used to select Vertices, Edges or Faces. Due to this limited use, these tricks bring no real benefit. In fact, it's even worse with the Retopology Overlay, as it forces the Depth buffer to be redrawn. This commit removes these tricks and only keeps those that indicate whether the drawing needs to be updated. Pull Request: https://projects.blender.org/blender/blender/pulls/113308
…
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%
