make sure camera is configured on connect

This commit is contained in:
ZappoMan 2013-12-28 13:00:25 -08:00
parent 6f2a1b9802
commit 47f45c3af1

View file

@ -27,6 +27,12 @@ bool TV3DManager::isConnected() {
}
void TV3DManager::connect() {
Application* app = Application::getInstance();
int width = app->getGLWidget()->width();
int height = app->getGLWidget()->height();
Camera& camera = *app->getCamera();
configureCamera(camera, width, height);
}