Fix the atrocious merge issues and minor typo

This commit is contained in:
sorket 2023-07-15 21:14:57 -04:00
parent 285c041f90
commit fa4b3c18d2
1 changed files with 16 additions and 0 deletions

View File

@ -58,8 +58,24 @@ namespace RNR
{
m_objects.erase(child_it);
}
}
delete child_ent;
}
}
Camera* Workspace::getCurrentCamera() const
{
return currentCamera.get();
}
void Workspace::setCurrentCamera(Camera *newCamera)
{
if (newCamera != currentCamera.get())
{
currentCamera = boost::shared_ptr<Camera>(newCamera);
// TODO: raise propertyChanged and currentCameraChangedSignal
}
}
}