Commit 1cb39cc5 authored by Jan Möbius's avatar Jan Möbius
Browse files

Bugfix for reader

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 02c67d23
......@@ -202,12 +202,15 @@ bool FilePTSPlugin::readTextFile( std::ifstream &_instream, SplatCloudNode *_spl
char buffer[4096];
while( !_instream.eof() )
while( true )
_instream.getline( buffer, 4096, '\n' );
std::string strbuffer( buffer );
std::stringstream sstream( strbuffer );
if( _instream.eof() )
// read point
float pnt[3];
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