diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-04 06:43:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-04 06:53:36 +0300 |
commit | 4ec61ff9f62ffe6ad26bba8a9c5f1250b9d464e8 (patch) | |
tree | 13514615a8b2a8627b6b023c1eb05ba59904e17c /source/blender/editors/space_view3d/drawobject.c | |
parent | 9c8b6cc3fd81722d0d714df89b29463c27b20f14 (diff) |
Curve/line width change broke outline drawing
Partially revert e29a5ba6
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 8 |
1 files changed, 2 insertions, 6 deletions
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)); } } } |