소스 검색

Put back unused line (in comments)

Albin Bernhardsson 8 년 전
부모
커밋
347c09c539
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      code/ObjFileParser.cpp

+ 2 - 0
code/ObjFileParser.cpp

@@ -101,6 +101,8 @@ ObjFile::Model *ObjFileParser::GetModel() const {
 // -------------------------------------------------------------------
 //  File parsing method.
 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;
     const unsigned int bytesToProcess = streamBuffer.size();
     const unsigned int progressTotal = 3 * bytesToProcess;