diff --git a/CHANGELOG.md b/CHANGELOG.md index 20f8cfa..c76967e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [2.6.0-exp.4] - 2021-02-22 +### Fixed + - Fixed an invalid AOV error when selecting the Albedo AOV. + ## [2.6.0-exp.3] - 2021-02-19 ### Added - - Added support for recording accumulation in HDRP, for motion blur and path tracer. +- Added support for recording accumulation in HDRP, for motion blur and path tracer. +- Integrated AOV Recorder into this package. ## [2.5.4] - 2021-01-25 ### Fixed @@ -15,9 +20,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an exception that would occur when Recording with Unity 2021.2. - Fixed a rounding error in the delta time when recording with non-integer frame rates. -### Added -- Integrated AOV Recorder into this package. - ## [2.5.2] - 2020-12-16 ### Fixed - Fixed an issue where changing the active camera would be recorded one frame too late. diff --git a/Editor/Sources/Recorders/AOVRecorder/AOVRecorderSettings.cs b/Editor/Sources/Recorders/AOVRecorder/AOVRecorderSettings.cs index 827c458..c96ffaf 100644 --- a/Editor/Sources/Recorders/AOVRecorder/AOVRecorderSettings.cs +++ b/Editor/Sources/Recorders/AOVRecorder/AOVRecorderSettings.cs @@ -182,7 +182,7 @@ protected internal override bool ValidityCheck(List errors) private bool IsAOVSelectionValid() { // See if it is found in the dictionary of supported AOVs - return AOVCameraAOVRequestAPIInput.m_Aovs.Keys.ToList().FindIndex(k => k == m_AOVSelection) != 1; + return AOVCameraAOVRequestAPIInput.m_Aovs.Keys.ToList().FindIndex(k => k == m_AOVSelection) != -1; } #endif diff --git a/package.json b/package.json index 1fc805b..1905f64 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.recorder", "displayName": "Unity Recorder", - "version": "2.6.0-exp.3", + "version": "2.6.0-exp.4", "unity": "2019.4", "unityRelease": "1f1", "dependencies": { @@ -23,15 +23,15 @@ "layer" ], "relatedPackages": { - "com.unity.recorder.tests": "2.6.0-exp.3" + "com.unity.recorder.tests": "2.6.0-exp.4" }, "upmCi": { - "footprint": "cd87466cb48cff8a30ef63b8c41277cfa077a716" + "footprint": "0a96f4dc26909f265ef46ad6fdb74bde6e623dbe" }, "repository": { "url": "https://github.cds.internal.unity3d.com/unity/com.unity.recorder.git", "type": "git", - "revision": "352dee4209526b4b30673276627bc02cd5519f09" + "revision": "d947d3d8f3d1f765057794c28a3be8c915560c83" }, "samples": [ {