Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-09-21 15:10:06 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-09-21 16:45:03 +0300
commit3523958de9f129e260a8a31260ef9459a10cc3cc (patch)
tree62bf2a9bc2d397c1f75a1847beccf5c444c5fcac /source/blender/draw/modes/overlay_mode.c
parent6934b246d186ce612100cf1a540fd23bde171fc8 (diff)
DRW: Add back wireframe mode
This is using the existing engine (workbench forward) with 0.0 xray_alpha and forcing wireframes on all objects. There is no workflow/shortcut changes in this commit.
Diffstat (limited to 'source/blender/draw/modes/overlay_mode.c')
-rw-r--r--source/blender/draw/modes/overlay_mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/overlay_mode.c b/source/blender/draw/modes/overlay_mode.c
index c6a5e9b8335..53934de9d0e 100644
--- a/source/blender/draw/modes/overlay_mode.c
+++ b/source/blender/draw/modes/overlay_mode.c
@@ -236,6 +236,7 @@ static void overlay_cache_populate(void *vedata, Object *ob)
}
if ((stl->g_data->overlay.flag & V3D_OVERLAY_WIREFRAMES) ||
+ (v3d->shading.type == OB_WIRE) ||
(ob->dtx & OB_DRAWWIRE) ||
(ob->dt == OB_WIRE))
{