Blender Git Commit Log

Git Commits -> Revision 79945c8

Revision 79945c8 by Campbell Barton (blender-v2.83-release, tmp-2.83-cycles-rtx3-kernels)
August 26, 2020, 09:31 (GMT)
Fix T77359: Crash adding UV's in edit-mode with linked duplicates

This prevents UV layer mix up in
MeshBatchCache.cd_used/cd_needed/cd_used_over_time which depends on the
extraction method.

One object's mesh can be accessed with MR_EXTRACT_MESH, another object
that uses the same mesh can use MR_EXTRACT_BMESH based on
(Object.mode & OB_MODE_EDIT), this causes a problem as the edit-mesh
and the mesh aren't always in sync, the custom data layers wont
necessarily match up, causing T77359.

Reviewed by @jbakker, @brecht

Ref D8645

Commit Details:

Full Hash: 79945c8126c644f34455e29de5bcf368427ddfa3
Parent Commit: ec44ab0
Lines Changed: +19, -3

3 Modified Paths:

/source/blender/draw/intern/draw_cache_extract.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+6, -2) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021