05142b3ea8faf1135b515aa9c3adaebfa4ed95a2
With two viewports, and one viewport with overlays turned off, one viewport first requests positions without calculating loose geometry, then the second viewport can request the loose geometry index buffer. In that case the previously-calculated positions VBO has the wrong size. To fix this, always calculate loose geometry when the positions are requested. That's required because we no simple way of checking whether the previously uploaded positions included loose geometry. That was the state before recent refactors in this area anyway. This makes it clear that the optimization to not calculate loose geometry is meaningless, because the positions buffer will always be requested at some point when drawing a mesh.
…
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%
