From e7057418df4051675b576e67e78070c65b4d258c Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 15 Apr 2016 09:22:49 +0000 Subject: [PATCH] When there's a shell, always render solids using sharp edges solids. Before this commit, solids in the viewport were rendered with "emphasized edges", with the intention to highlight selectable faces. However, selectable faces are already surrounded by entities, and so rendering emphasized edges adds little value. After this commit, solids in the viewport are always rendered with "sharp edges", like they are exported. --- src/groupmesh.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/groupmesh.cpp b/src/groupmesh.cpp index 80f9f57..6f01cb1 100644 --- a/src/groupmesh.cpp +++ b/src/groupmesh.cpp @@ -411,13 +411,8 @@ void Group::GenerateDisplayItems(void) { runningMesh.MakeCertainEdgesAndOutlinesInto( &displayEdges, &displayOutlines, SKdNode::EMPHASIZED_EDGES); } else { - if(SS.exportMode) { - displayMesh.MakeCertainEdgesAndOutlinesInto( - &displayEdges, &displayOutlines, SKdNode::SHARP_EDGES); - } else { - displayMesh.MakeCertainEdgesAndOutlinesInto( - &displayEdges, &displayOutlines, SKdNode::EMPHASIZED_EDGES); - } + displayMesh.MakeCertainEdgesAndOutlinesInto( + &displayEdges, &displayOutlines, SKdNode::SHARP_EDGES); } } }