From 47f45c3af1fbbe0e30fa3fd0b90a2afb6750f43c Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Sat, 28 Dec 2013 13:00:25 -0800 Subject: [PATCH] make sure camera is configured on connect --- interface/src/devices/TV3DManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/src/devices/TV3DManager.cpp b/interface/src/devices/TV3DManager.cpp index d309c33ed3..c00168931f 100644 --- a/interface/src/devices/TV3DManager.cpp +++ b/interface/src/devices/TV3DManager.cpp @@ -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); }