From 4ec61ff9f62ffe6ad26bba8a9c5f1250b9d464e8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 4 Mar 2016 14:43:39 +1100 Subject: Curve/line width change broke outline drawing Partially revert e29a5ba6 --- source/blender/editors/space_view3d/drawobject.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/space_view3d') diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 29ebc6adc0f..b4571e50701 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -7194,12 +7194,8 @@ static void drawObjectSelect(Scene *scene, View3D *v3d, ARegion *ar, Base *base, draw_mesh_object_outline(v3d, ob, dm); } else { - /* don't show outline on 'wire' with surfaces, - * don't show interior tessellation with curves */ - drawDispListwire_ex( - &ob->curve_cache->disp, - (ob->type == OB_SURF) ? - (DL_INDEX3 | DL_INDEX4 | DL_SURF) : (DL_SEGM | DL_POLY)); + /* only draw 'solid' parts of the display list as wire. */ + drawDispListwire_ex(&ob->curve_cache->disp, (DL_INDEX3 | DL_INDEX4 | DL_SURF)); } } } -- cgit v1.2.3