diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-04-27 15:03:03 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-04-27 15:03:03 +0300 |
commit | 08731d70bf667a7179a3ea4c29aa9d81b019d4ee (patch) | |
tree | c8b166bec21960c43bde5c3530c8a7bea1145dc8 /source/blender/draw/intern | |
parent | c5a4159beeb287a152e998f506a0041613c6f9d3 (diff) |
Fix T96327: data transfer crash with GPU subdivision
The crash is caused as the subdivision wrapper does not have loop
normals, which are generally computed at the end of the modifier stack
evaluation via `mesh_calc_modifier_final_normals`. (Note that they are
initially computed, but deleted by the subdivision wrapper creation.)
This records in the mesh runtime whether loop normals should have been
computed and computes them alongside the subdivision wrapper.
Differential Revision: https://developer.blender.org/D14489
Diffstat (limited to 'source/blender/draw/intern')
0 files changed, 0 insertions, 0 deletions