Corrected vertex reference assignment for second triangle in AddQuadFace for the case of two triangles with faux flags

This commit is contained in:
giorgiomarcias 2016-02-14 06:56:26 +00:00
parent b035dc8ba7
commit b7694288e5
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ public:
fi->Alloc(3); fi->V(0)=v0; fi->V(1)=v1; fi->V(2)=v2;
fi->SetF(2);
++fi;
fi->Alloc(3); fi->V(0)=v0; fi->V(2)=v1; fi->V(3)=v2;
fi->Alloc(3); fi->V(0)=v0; fi->V(1)=v2; fi->V(2)=v3;
fi->SetF(0);
return fi;
}