Fix T78361: Crash When Modelling
Forgot to free the tangent layer for bmesh in the drawing code.
This commit is contained in:
parent
cb5bfb32ba
commit
13e2337da7
Notes:
blender-bot
2023-02-13 21:58:43 +01:00
Referenced by issue #78361, Blender crashes on many modeling operations (loopcut, extrude, duplication, ...) on mesh with normal map node connected to material
|
@ -2059,6 +2059,7 @@ static void extract_tan_ex(const MeshRenderData *mr, GPUVertBuf *vbo, const bool
|
|||
}
|
||||
}
|
||||
|
||||
CustomData_free_layers(ldata, CD_TANGENT, mr->loop_len);
|
||||
CustomData_free(&loop_data, mr->loop_len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue