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.
This commit is contained in:
parent
24fc65a71c
commit
e7057418df
@ -411,13 +411,8 @@ void Group::GenerateDisplayItems(void) {
|
|||||||
runningMesh.MakeCertainEdgesAndOutlinesInto(
|
runningMesh.MakeCertainEdgesAndOutlinesInto(
|
||||||
&displayEdges, &displayOutlines, SKdNode::EMPHASIZED_EDGES);
|
&displayEdges, &displayOutlines, SKdNode::EMPHASIZED_EDGES);
|
||||||
} else {
|
} else {
|
||||||
if(SS.exportMode) {
|
displayMesh.MakeCertainEdgesAndOutlinesInto(
|
||||||
displayMesh.MakeCertainEdgesAndOutlinesInto(
|
&displayEdges, &displayOutlines, SKdNode::SHARP_EDGES);
|
||||||
&displayEdges, &displayOutlines, SKdNode::SHARP_EDGES);
|
|
||||||
} else {
|
|
||||||
displayMesh.MakeCertainEdgesAndOutlinesInto(
|
|
||||||
&displayEdges, &displayOutlines, SKdNode::EMPHASIZED_EDGES);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user