Commit 078f84ef authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

binary import/export for SLF

parent 16bbf023
......@@ -532,7 +532,6 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
std::string tmp ;
tmp = std::string("ply") ;
std::cout << tmp.length() << std::endl ;
out.write(tmp.c_str(),tmp.length()*sizeof(char)) ;
tmp = std::string("format binary_little_endian 1.0") ;
out.write(tmp.c_str(),tmp.length()*sizeof(char)) ;
......
......@@ -810,7 +810,6 @@ bool MeshTablesSurface<PFP>::importPlySLFgenericBin(const std::string& filename,
fp.read(buff, 3) ;
std::string tag(buff) ;
delete[] buff ;
std::cout << tag << std::endl ;
if (tag != std::string("ply")) // verify file type
{
CGoGNerr << filename << " is not a ply file !" << CGoGNout ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment