Blender Git Loki

Git Commits -> Revision 33ac358

Revision 33ac358 by Campbell Barton (master)
August 25, 2020, 13:54 (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: 33ac3582bbd5551bdfbc7ef8856640b5e61888f8
Parent Commit: 3ea3244
Lines Changed: +24, -4

3 Modified Paths:

/source/blender/draw/intern/draw_cache_extract.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+11, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+12, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021