Fix: Resolve over-allocation for mesh tangents
commit32fc3c0c1c322148ce9afb41e066859ed9946cf7
authorHans Goudey <hans@blender.org>
Mon, 1 Apr 2024 17:38:01 +0000 (1 13:38 -0400)
committerHans Goudey <hans@blender.org>
Mon, 1 Apr 2024 17:38:06 +0000 (1 13:38 -0400)
treeb19a6e6c087090a23b2cb7bb3ba9154bb51d76e9
parent7934ebd4e42f4d8702fd4e864ea87eacf0dbefdb
Fix: Resolve over-allocation for mesh tangents

For some reason, the custom data type was set as `float[4][4]`
for tangents, but they are written as `float[4]`. The overallocation
might not have been a problem, since it looks like the extra memory
was never written to. But it's still confusing and potentially bad for
performance.
source/blender/blenkernel/intern/customdata.cc
source/blender/blenkernel/intern/mesh_flip_faces.cc