mirror of
https://github.com/leozide/leocad
synced 2025-02-06 08:46:06 +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(pos, 3);
|
||||||
file->ReadFloats(rot, 3);
|
file->ReadFloats(rot, 3);
|
||||||
file->ReadU8(&color, 1);
|
file->ReadU8(&color, 1);
|
||||||
file->ReadBuffer(name, sizeof(name));
|
file->ReadBuffer(name, 9);
|
||||||
file->ReadU8(&step, 1);
|
file->ReadU8(&step, 1);
|
||||||
file->ReadU8(&group, 1);
|
file->ReadU8(&group, 1);
|
||||||
|
|
||||||
|
@ -671,9 +671,9 @@ bool Project::FileLoad(lcFile* file, bool bUndo, bool bMerge)
|
||||||
{
|
{
|
||||||
file->ReadS32(&i, 1);
|
file->ReadS32(&i, 1);
|
||||||
|
|
||||||
Camera* pCam = m_pCameras;
|
// Camera* pCam = m_pCameras;
|
||||||
while (i--)
|
// while (i--)
|
||||||
pCam = pCam->m_pNext;
|
// pCam = pCam->m_pNext;
|
||||||
// m_pViewCameras[count] = pCam;
|
// m_pViewCameras[count] = pCam;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue