4bdf5bf2e289039b869ab91f1d25539e00a66b04
After some discussions and investigation over the last couple months, it's not clear what the "wrapper type finalize" logic is necessary for. For edit meshes and regular meshes, normals are calculated lazily when building the draw cache. Apart from the unnecessary complication for mesh GPU draw data extraction, this code also causes normals to always be calculated when turning an edit mesh wrapper into a regular mesh. However, those normals are immediately discarded since the edit deform cache is deleted in the next line. Beyond the obvious simplification, the motivation for this change is to avoid requesting write access on the evaluated mesh and cage mesh. This works better with implicit sharing, allowing other improvements. Pull Request: https://projects.blender.org/blender/blender/pulls/120066
…
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%
