|
@@ -149,10 +149,10 @@ void ObjFileImporter::InternReadFile( const std::string &file, aiScene* pScene,
|
|
// This next stage takes ~ 1/3th of the total readFile task
|
|
// This next stage takes ~ 1/3th of the total readFile task
|
|
// so should amount for 1/3th of the progress
|
|
// so should amount for 1/3th of the progress
|
|
// only update every 100KB or it'll be too slow
|
|
// only update every 100KB or it'll be too slow
|
|
- unsigned int progress = 0;
|
|
|
|
|
|
+ /*unsigned int progress = 0;
|
|
unsigned int progressCounter = 0;
|
|
unsigned int progressCounter = 0;
|
|
const unsigned int updateProgressEveryBytes = 100 * 1024;
|
|
const unsigned int updateProgressEveryBytes = 100 * 1024;
|
|
- const unsigned int progressTotal = (3*m_Buffer.size()/updateProgressEveryBytes);
|
|
|
|
|
|
+ const unsigned int progressTotal = (3*m_Buffer.size()/updateProgressEveryBytes);*/
|
|
// process all '\'
|
|
// process all '\'
|
|
/*std::vector<char> ::iterator iter = m_Buffer.begin();
|
|
/*std::vector<char> ::iterator iter = m_Buffer.begin();
|
|
while (iter != m_Buffer.end())
|
|
while (iter != m_Buffer.end())
|