finished OrbitCamera

This commit is contained in:
Anakin
2017-02-03 15:54:45 +01:00
parent 333eca25eb
commit 92245be302
3 changed files with 11 additions and 10 deletions

View File

@@ -85,10 +85,10 @@ void MshFile::loadChunks(QList<ChunkHeader*>& destination, qint64 start, const q
ChunkHeader* tmp_header = new ChunkHeader();
char workaround[5] = { 0 };
// get information
m_file.read(F2V(workaround[0]), sizeof(workaround) -1);
tmp_header->name = QString(workaround);
char tmpName[5] = { 0 };
m_file.read(F2V(tmpName[0]), sizeof(tmpName) -1);
tmp_header->name = QString(tmpName);
m_file.read(F2V(tmp_header->size), sizeof(tmp_header->size));
tmp_header->position = m_file.pos();