Fix the atrocious merge issues and minor typo
This commit is contained in:
parent
285c041f90
commit
fa4b3c18d2
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue