- added missed security control

This commit is contained in:
granzuglia 2015-07-30 11:46:05 +00:00
parent f8d63a765d
commit d238a74cd9
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ public:
for(j=0,vi=m.vert.begin();vi!=m.vert.end();++vi)
{
vp=&(*vi);
FlagV.push_back(vp->Flags()); // Save vertex flags
if (vcg::tri::HasPerVertexFlags(m))
FlagV.push_back(vp->Flags()); // Save vertex flags
if( ! vp->IsD() )
{ // ***** ASCII *****