mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed bug pasting cameras.
This commit is contained in:
parent
c7ebb8b82b
commit
3220901e04
1 changed files with 2 additions and 1 deletions
|
@ -4716,7 +4716,8 @@ void Project::HandleCommand(LC_COMMANDS id, unsigned long nParam)
|
|||
for (pGroup = m_pGroups; pGroup; pGroup = pGroup->m_pNext)
|
||||
pGroup->FileSave(m_pClipboard[m_nCurClipboard], m_pGroups);
|
||||
|
||||
for (int CameraIdx = 0, i = 0; CameraIdx < mCameras.GetSize(); CameraIdx++)
|
||||
i = 0;
|
||||
for (int CameraIdx = 0; CameraIdx < mCameras.GetSize(); CameraIdx++)
|
||||
if (mCameras[CameraIdx]->IsSelected())
|
||||
i++;
|
||||
m_pClipboard[m_nCurClipboard]->WriteBuffer(&i, sizeof(i));
|
||||
|
|
Loading…
Reference in a new issue