Fix T66654: wireframe overlay crash in vertex paint in some cases
Differential Revision: https://developer.blender.org/D5218
This commit is contained in:
parent
91d3b00395
commit
bb7b741d2f
Notes:
blender-bot
2023-02-14 04:40:22 +01:00
Referenced by issue #67138, Duplicated Text Referenced by issue #66681, Blender 2.7x keymap inconsistancies Referenced by issue #66654, Vertex Paint crash selecting faces with showing wire & multi 3D viewports Referenced by issue #66584, Collada: Preview on Mac shows issues with transparency Referenced by issue #60043, macOS viewport lagging
|
@ -2301,7 +2301,7 @@ void DRW_mesh_batch_cache_dirty_tag(Mesh *me, int mode)
|
|||
GPU_BATCH_DISCARD_SAFE(cache->surf_per_mat[i]);
|
||||
}
|
||||
}
|
||||
cache->batch_ready &= ~(MBC_SURFACE | MBC_WIRE_LOOPS | MBC_SURF_PER_MAT);
|
||||
cache->batch_ready &= ~(MBC_SURFACE | MBC_WIRE_EDGES | MBC_WIRE_LOOPS | MBC_SURF_PER_MAT);
|
||||
break;
|
||||
case BKE_MESH_BATCH_DIRTY_ALL:
|
||||
cache->is_dirty = true;
|
||||
|
|
Loading…
Reference in New Issue