Commit c2b32b44 authored by Brandon Jones's avatar Brandon Jones Committed by Commit Bot

Removed the check for floor height on standalone VR

Bug: 851544
Change-Id: I0504db37dce23a2cbc69624a30452e328c8d9a84
Reviewed-on: https://chromium-review.googlesource.com/1101998
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567699}
parent 9df654dc
......@@ -1607,13 +1607,6 @@ void VrShellGl::DrawIntoAcquiredFrame(int16_t frame_index,
&render_info_);
ui_->OnProjMatrixChanged(render_info_.left_eye_model.proj_matrix);
// This may change when the floor height changes so it's computed every frame.
gvr::Value floor_height;
if (gvr_api_->GetCurrentProperties().Get(GVR_PROPERTY_TRACKING_FLOOR_HEIGHT,
&floor_height)) {
ui_->SetFloorHeight(floor_height.f);
}
// Content quad can't have transparency when using the quad layer because we
// can't blend with the quad layer.
bool use_quad_layer = ui_->IsContentVisibleAndOpaque();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment