Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
svillar committed Jan 15, 2025
1 parent ed83245 commit 68e2657
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/src/main/cpp/BrowserWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1156,9 +1156,8 @@ BrowserWorld::ProcessOVRPlatformEvents() {
vrb::Matrix
BrowserWorld::GetActiveControllerOrientation() const {
for (Controller& controller: m.controllers->GetControllers()) {
if (!controller.enabled)
continue;
return controller.transform->GetTransform();
if (controller.enabled)
return controller.transform->GetTransform();
}
return vrb::Matrix::Identity();
}
Expand Down

0 comments on commit 68e2657

Please sign in to comment.