Skip to content

Commit

Permalink
Merge branch 'main' into feature/pure-openxr
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeskydev committed Jan 23, 2025
2 parents 8e33019 + 8bcd3ff commit d59ec8e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/QualityLevels.asset
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ MonoBehaviour:
m_GpuLevel: 4
m_FixedFoveationLevel: 0
- m_Bloom: 1
m_Hdr: 0
m_Hdr: 1
m_Fxaa: 1
m_MsaaLevel: 1
m_MaxLod: 99999999
Expand Down
9 changes: 9 additions & 0 deletions Assets/Scripts/Tools/FreePaintTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,15 @@ override public void AssignControllerMaterials(InputManager.ControllerName contr

void PositionPointer()
{
// Discard the pointer if the controller is exactly zero
// as it probably indicates the controller tracking stalled this frame
// TODO:Mikesky: See if can be done at input level
if (InputManager.m_Instance.GetControllerBehavior(InputManager.ControllerName.Brush).transform.position == Vector3.zero)
{
Debug.LogError($"Controller Glitch!");
return;
}

// Angle the pointer according to the user-defined pointer angle.
Transform rAttachPoint = InputManager.m_Instance.GetBrushControllerAttachPoint();
Vector3 pos = rAttachPoint.position;
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ PlayerSettings:
useDeterministicCompilation: 1
additionalIl2CppArgs:
scriptingRuntimeVersion: 1
gcIncremental: 0
gcIncremental: 1
gcWBarrierValidation: 0
apiCompatibilityLevelPerPlatform:
Android: 3
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/QualitySettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ QualitySettings:
shadows: 1
shadowResolution: 2
shadowProjection: 1
shadowCascades: 1
shadowCascades: 2
shadowDistance: 30
shadowNearPlaneOffset: 2
shadowCascade2Split: 0.33333334
Expand Down

0 comments on commit d59ec8e

Please sign in to comment.