Blender Git Commit Log

Git Commits -> Revision 1131e33

Revision 1131e33 by Germano Cavalcante (master)
March 9, 2020, 18:09 (GMT)
Fix T74438: Vertex-only meshes disappear in wireframe mode

The problem happens because, in wireframe mode, `bool use_wire` is
always `true`, so the function that draws all edges is the called.

The solution is set `use_wire` as `false` when the mesh has no edges.

This matches the behavior of blender 2.79.

Reviewed By: fclem, brecht

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

Commit Details:

Full Hash: 1131e33026297597037e89803330f9417a535838
Parent Commit: a468368
Lines Changed: +5, -3

1 Modified Path:

/source/blender/draw/engines/overlay/overlay_wireframe.c (+5, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021