projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde2b46
)
Put back unused line (in comments)
author
Albin Bernhardsson
<catscratchesp@gmail.com>
Thu, 24 Nov 2016 14:15:17 +0000
(15:15 +0100)
committer
Albin Bernhardsson
<catscratchesp@gmail.com>
Thu, 24 Nov 2016 14:15:17 +0000
(15:15 +0100)
code/ObjFileParser.cpp
patch
|
blob
|
history
diff --git
a/code/ObjFileParser.cpp
b/code/ObjFileParser.cpp
index
ddab8f7
..
eba43c3
100644
(file)
--- a/
code/ObjFileParser.cpp
+++ b/
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;