Fix #120065: Mesh tangent draw extraction crash
commitf0d7a05fc41bce4b1e368c9806316cdb6784ec38
authorHans Goudey <hans@blender.org>
Mon, 1 Apr 2024 14:45:28 +0000 (1 10:45 -0400)
committerHans Goudey <hans@blender.org>
Mon, 1 Apr 2024 14:48:43 +0000 (1 10:48 -0400)
treecc4c351ea3bd30898cb8a7244865e1bb2bdbc81d
parentea3f938c0771a0d2a7bdd20cf11aab9a8e2bbf39
Fix #120065: Mesh tangent draw extraction crash

Since the code was added, it used the active indices of the input and
output custom data layers incorrectly. 82b88f130a55e433192f exposed that
by actually modifying the active indices of the ouput custom data
correctly, but it didn't update a couple other places to take that into
account.
source/blender/blenkernel/intern/mesh_tangent.cc
source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_tan.cc