diff options
author | Jacques Lucke <jacques@blender.org> | 2022-06-16 17:44:58 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-06-22 13:23:23 +0300 |
commit | 05d659e55e4702606a3ba7d508033036db6c246b (patch) | |
tree | ba7bd1dc490629fb3668bd4ff78acbd3a54dd79c /source/blender/blenkernel/intern/cdderivedmesh.c | |
parent | 92fee7077ab8b38918622ac530e53205d053cb9c (diff) |
Fix T98796: avoid unnecessary mesh copy
The call to `get_component_for_write` would sometimes copy the mesh
even when the mesh is replaced with itself. The `replace_mesh` method
handles that case already, so just use that instead.
Diffstat (limited to 'source/blender/blenkernel/intern/cdderivedmesh.c')
0 files changed, 0 insertions, 0 deletions