mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Fixed bug importing old project files.
This commit is contained in:
parent
ea23d3d4ba
commit
05139f377b
1 changed files with 4 additions and 4 deletions
|
@ -473,7 +473,7 @@ bool Project::FileLoad(lcFile* file, bool bUndo, bool bMerge)
|
|||
file->ReadFloats(pos, 3);
|
||||
file->ReadFloats(rot, 3);
|
||||
file->ReadU8(&color, 1);
|
||||
file->ReadBuffer(name, sizeof(name));
|
||||
file->ReadBuffer(name, 9);
|
||||
file->ReadU8(&step, 1);
|
||||
file->ReadU8(&group, 1);
|
||||
|
||||
|
@ -671,9 +671,9 @@ bool Project::FileLoad(lcFile* file, bool bUndo, bool bMerge)
|
|||
{
|
||||
file->ReadS32(&i, 1);
|
||||
|
||||
Camera* pCam = m_pCameras;
|
||||
while (i--)
|
||||
pCam = pCam->m_pNext;
|
||||
// Camera* pCam = m_pCameras;
|
||||
// while (i--)
|
||||
// pCam = pCam->m_pNext;
|
||||
// m_pViewCameras[count] = pCam;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue