Added parenthesis to clearly disambiguate if/then/else
This commit is contained in:
parent
ba58ef9c1e
commit
72d67f4a11
|
@ -600,6 +600,7 @@ namespace tri {
|
|||
assert(!m.vert[i].IsD());
|
||||
m.vert[ pu.remap [i] ].ImportData(m.vert[i]);
|
||||
if(HasVFAdjacency(m))
|
||||
{
|
||||
if (m.vert[i].IsVFInitialized())
|
||||
{
|
||||
m.vert[ pu.remap[i] ].VFp() = m.vert[i].cVFp();
|
||||
|
@ -608,6 +609,7 @@ namespace tri {
|
|||
else m.vert [ pu.remap[i] ].VFClear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// reorder the optional atttributes in m.vert_attr to reflect the changes
|
||||
ReorderAttribute(m.vert_attr,pu.remap,m);
|
||||
|
|
Loading…
Reference in New Issue