Skip to content

Commit

Permalink
Re enable liv (#229)
Browse files Browse the repository at this point in the history
* Bump version 1.1.1

* re-enable liv
  • Loading branch information
Raicuparta authored Jun 1, 2022
1 parent afec37e commit 54133cc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions TwoForksVr/src/Stage/VrStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public class VrStage : MonoBehaviour
private VeryLateUpdateManager veryLateUpdateManager;
private VrSettingsMenu vrSettingsMenu;

// TODO: temporarily disabling LIV since it's causing problems.
// private LivManager livManager;
private LivManager livManager;

public static void Create(Transform parent)
{
Expand Down Expand Up @@ -74,10 +73,7 @@ public static void Create(Transform parent)
BodyRendererManager.Create(instance, instance.teleportController, instance.limbManager);
instance.vrSettingsMenu = VrSettingsMenu.Create(instance);
instance.bindingsManager = BindingsManager.Create(instance);

// TODO: temporarily disabling LIV since it's causing problems.
// instance.livManager = LivManager.Create(instance);

instance.livManager = LivManager.Create(instance);
instance.fallbackCamera = new GameObject("VrFallbackCamera").AddComponent<Camera>();
instance.fallbackCamera.enabled = false;
instance.fallbackCamera.clearFlags = CameraClearFlags.Color;
Expand Down Expand Up @@ -118,9 +114,7 @@ public void SetUp(Camera camera, vgPlayerController playerController)
turningController.SetUp(playerController);
roomScaleBodyTransform.SetUp(playerController);
bodyRendererManager.SetUp(playerController);

// TODO: temporarily disabling LIV since it's causing problems.
// livManager.SetUp(nextCamera);
livManager.SetUp(nextCamera);
}

private void Update()
Expand Down

0 comments on commit 54133cc

Please sign in to comment.