Added parenthesis to clearly disambiguate if/then/else
This commit is contained in:
parent
ba58ef9c1e
commit
72d67f4a11
|
@ -600,12 +600,14 @@ namespace tri {
|
||||||
assert(!m.vert[i].IsD());
|
assert(!m.vert[i].IsD());
|
||||||
m.vert[ pu.remap [i] ].ImportData(m.vert[i]);
|
m.vert[ pu.remap [i] ].ImportData(m.vert[i]);
|
||||||
if(HasVFAdjacency(m))
|
if(HasVFAdjacency(m))
|
||||||
|
{
|
||||||
if (m.vert[i].IsVFInitialized())
|
if (m.vert[i].IsVFInitialized())
|
||||||
{
|
{
|
||||||
m.vert[ pu.remap[i] ].VFp() = m.vert[i].cVFp();
|
m.vert[ pu.remap[i] ].VFp() = m.vert[i].cVFp();
|
||||||
m.vert[ pu.remap[i] ].VFi() = m.vert[i].cVFi();
|
m.vert[ pu.remap[i] ].VFi() = m.vert[i].cVFi();
|
||||||
}
|
}
|
||||||
else m.vert [ pu.remap[i] ].VFClear();
|
else m.vert [ pu.remap[i] ].VFClear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue