Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021