diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-03-08 15:48:47 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-03-08 15:48:47 +0300 |
commit | 6f8e65cd7aa9598d7c440d2ac05e51c241836662 (patch) | |
tree | 5e6b361423d5c7928ab6de2b29a5353746f8fe5c /source/blender/draw/intern/draw_cache_extract_mesh.cc | |
parent | 64a5fd7a1dce5ea4d24bcced42d885b165cc2d41 (diff) | |
parent | d5e4cab76c625c45b73868cf27021de1fada2830 (diff) |
Merge remote-tracking branch 'origin/blender-v3.1-release'
Diffstat (limited to 'source/blender/draw/intern/draw_cache_extract_mesh.cc')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.cc b/source/blender/draw/intern/draw_cache_extract_mesh.cc index dea3fa9b75a..e84f2c7a327 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.cc +++ b/source/blender/draw/intern/draw_cache_extract_mesh.cc @@ -854,6 +854,7 @@ static void mesh_buffer_cache_create_requested_subdiv(MeshBatchCache *cache, } mesh_render_data_update_looptris(mr, MR_ITER_LOOPTRI, MR_DATA_LOOPTRI); + mesh_render_data_update_normals(mr, MR_DATA_TAN_LOOP_NOR); mesh_render_data_update_loose_geom(mr, mbc, MR_ITER_LEDGE | MR_ITER_LVERT, MR_DATA_LOOSE_GEOM); DRW_subdivide_loose_geom(subdiv_cache, mbc); |