Skip to content

Commit 0522ed6

Browse files
committed
put laser back on front layer
1 parent f8bb7f6 commit 0522ed6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/system/libraries/pointersUtils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ var Pointer = function(hudLayer, pickType, pointerData) {
3434
// contrast outline doesn't get blurred away
3535
const CURSOR_SAMPLER = { filter: "linear" };
3636

37-
// The line defaults to "world" so it doesn't look weird
38-
// going behind avatars, the cursor defaults to "front"
39-
// so it doesn't get partially clipped by whatever it's hitting
40-
const lineRenderLayer = hudLayer ? "hud" : "world";
37+
const lineRenderLayer = hudLayer ? "hud" : "front";
4138
const cursorRenderLayer = hudLayer ? "hud" : "front";
4239

4340
// TODO: Use Controller.Hardware.OpenXR.{LT,RT}Touch

0 commit comments

Comments
 (0)