But still draw the edges when the faces are coplanar, if the faces
are different colors. [git-p4: depot-paths = "//depot/solvespace/": change = 1842]
This commit is contained in:
parent
3765175ec3
commit
98b0f65cea
4
mesh.cpp
4
mesh.cpp
|
@ -594,7 +594,9 @@ void SKdNode::FindEdgeOn(Vector a, Vector b, int *n, int *nOther,
|
|||
{
|
||||
(*n)++;
|
||||
if(tr->meta.face != m.face) {
|
||||
if(tr->meta.face != 0 && m.face != 0) {
|
||||
if(tr->meta.color == m.color &&
|
||||
tr->meta.face != 0 && m.face != 0)
|
||||
{
|
||||
hEntity hf0 = { tr->meta.face },
|
||||
hf1 = { m.face };
|
||||
Entity *f0 = SS.GetEntity(hf0),
|
||||
|
|
Loading…
Reference in New Issue
Block a user