Commit cb3f0ae5 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#42][Fix] remove setting the active camera automatically when adding a new camera

Per default: index = 0 is the active camera. The user should determine himself via setActiveCamera which camera should be active
parent 5daeb456
Pipeline #25701 passed with stages
in 3 minutes and 4 seconds
......@@ -81,7 +81,6 @@ namespace vkcv{
m_cameras.push_back(camera); // TODO: is there another way we can do this?
m_cameras.back().setPerspective(glm::radians(60.0f), m_window.getWidth() / m_window.getHeight(), 0.1f, 10.0f);
setActiveCamera(m_cameras.size() - 1);
return m_cameras.size() - 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment