mirror of https://github.com/CGAL/cgal
commit
4c7719cd85
|
|
@ -742,6 +742,7 @@ public:
|
|||
m_in.clear(std::ios::badbit);
|
||||
if(verbose())
|
||||
std::cerr<<"error while reading facet. Missing index."<<std::endl;
|
||||
index=0;
|
||||
return;
|
||||
}
|
||||
index = static_cast<std::size_t>(entries[current_entry]);
|
||||
|
|
@ -757,7 +758,7 @@ public:
|
|||
"cannot read OFF file beyond facet "
|
||||
<< current_facet << "." << std::endl;
|
||||
}
|
||||
|
||||
index=0;
|
||||
set_off_header(false);
|
||||
return;
|
||||
}
|
||||
|
|
@ -777,7 +778,7 @@ public:
|
|||
<< index + index_offset() << ": is out of range."
|
||||
<< std::endl;
|
||||
}
|
||||
|
||||
index = 0;
|
||||
set_off_header(false);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue