Skip to content

Commit

Permalink
Disable unknown display type warning when in editor (#11685)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaynie committed Jul 6, 2023
1 parent bda1893 commit 8648ef3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions com.microsoft.mrtk.core/Camera/CameraSettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ private void UpdateCameraSettings(DisplayType type)
break;

default:
#if !UNITY_EDITOR
Debug.LogWarning($"Unknown DisplayType value: {type}. No camera settings changes made.");
#endif
break;
}
}
Expand Down

0 comments on commit 8648ef3

Please sign in to comment.