File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
com.unity.render-pipelines.core/Runtime/Camera
com.unity.render-pipelines.high-definition Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ Camera GetNextCamera()
8989
9090 void SetCameraIndex ( int index )
9191 {
92- if ( index > 0 || index < GetCameraCount ( ) )
92+ if ( index > 0 && index < GetCameraCount ( ) )
9393 {
9494 m_CurrentCameraIndex = index ;
9595
Original file line number Diff line number Diff line change @@ -622,6 +622,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
622622- Fixed Wizard check on default volume profile to also check it is not the default one in package.
623623- Fix erroneous central depth sampling in TAA.
624624- Fixed light layers not correctly disabled when the lightlayers is set to Nothing and Lightlayers isn't enabled in HDRP Asset
625+ - Fixed a wrong condition in CameraSwitcher, potentially causing out of bound exceptions.
625626
626627### Changed
627628- Improve MIP selection for decals on Transparents
You can’t perform that action at this time.
0 commit comments