Put back unused line (in comments)

pull/1075/head
Albin Bernhardsson 2016-11-24 15:15:17 +01:00
parent bde2b466be
commit 347c09c539
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ ObjFile::Model *ObjFileParser::GetModel() const {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// File parsing method. // File parsing method.
void ObjFileParser::parseFile( IOStreamBuffer<char> &streamBuffer ) { void ObjFileParser::parseFile( IOStreamBuffer<char> &streamBuffer ) {
// only update every 100KB or it'll be too slow
//const unsigned int updateProgressEveryBytes = 100 * 1024;
unsigned int progressCounter = 0; unsigned int progressCounter = 0;
const unsigned int bytesToProcess = streamBuffer.size(); const unsigned int bytesToProcess = streamBuffer.size();
const unsigned int progressTotal = 3 * bytesToProcess; const unsigned int progressTotal = 3 * bytesToProcess;