Commit 470729ee authored by Philip Trettner's avatar Philip Trettner

Fixed assignCamera 2nd parameter

parent 4be372f0
......@@ -66,7 +66,7 @@ void RenderingPipeline::assignCamera(const camera::SharedGenericCamera& cam, boo
{
mCamera = cam;
if (cam)
if (cam && useCamViewport)
resize(cam->getViewportWidth(), cam->getViewportHeight());
}
......
Markdown is supported
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