Blender Git Commit Log

Git Commits -> Revision 9c337fc

Revision 9c337fc by Jeroen Bakker (master)
December 4, 2019, 14:17 (GMT)
Fix T72130: Wireframe Visible After Disabling

The lines index buffer can contain all edges (edit mode) or only loose
edges (object mode). When switching between these modes the wrong
content of the index buffer can be used.

This patch will clear the lines index buffer when a `loose_edges` is requested. Making sure it is always up to date.

Note that this is supporting an exising hack where the IBO is truncated
during the creation. We should find a different way how to solve these
kind of issues.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D6349

Commit Details:

Full Hash: 9c337fcfe2a46b2ccfb8a4960b7af0eac5c615de
Parent Commit: 186d740
Lines Changed: +80, -18

6 Modified Paths:

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