Commit 083d7e86 authored by Philip Trettner's avatar Philip Trettner
parents 22c0936c 470729ee
......@@ -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