diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-08 21:16:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-08 21:16:42 +0300 |
commit | c77597cd0e15f9d7b6f963593b545cc94950eb8d (patch) | |
tree | ab28a00f7eb39f35c71be2711f8321207f5723a5 /source/blender/editors/uvedit/uvedit_ops.c | |
parent | 7add8163e4b628767c546dae687333225c78c8c0 (diff) |
Fix T95843: Invalid mesh runtime data after sculpt undov3.1.0
When the geometry of the sculpt mesh was replaced when restoring from
a full undo step, the runtime data was not cleared (including any
normals, triangulation data, or any other cached derived data).
In the report, only the invalid normals were observed.
The fix is to simply clear these caches. Later they will be reallocated
and recalculated if necessary. Since the whole mesh replaced here
anyway, this should be a safe fix.
Differential Revision: https://developer.blender.org/D14282
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_ops.c')
0 files changed, 0 insertions, 0 deletions