Fix bug with fisheye rendering introduced in anchor-and-aim commit

This commit is contained in:
Emil Axelsson
2019-03-18 17:31:07 +01:00
parent 8ff4a63b02
commit a216b7f8bd

View File

@@ -502,6 +502,7 @@ void RenderEngine::render(const glm::mat4& sceneMatrix, const glm::mat4& viewMat
_camera->sgctInternal.setSceneMatrix(sceneMatrix);
}
_camera->sgctInternal.setProjectionMatrix(projectionMatrix);
_camera->invalidateCache();
}
const bool masterEnabled = delegate.isMaster() ? !_disableMasterRendering : true;