review vr stuff, fix controller-ui ray casting

This commit is contained in:
2019-06-05 16:27:29 +02:00
parent 02b92cf382
commit dc9da77cf8
10 changed files with 96 additions and 47 deletions

View File

@@ -624,7 +624,7 @@ void App::update(float dt)
auto observer = std::bind(&App::update_ui_observer, this, std::placeholders::_1);
if (vr_active)
if (vr_active && ui_visible)
{
uirtt.bindFramebuffer();
uirtt.clear();