Skip to content

Commit

Permalink
CMCL-0000: Update changelog version to 2.9.8 (#918)
Browse files Browse the repository at this point in the history
* Update changelog version

* Fix isolation tests errors

* Remove extra space

Added check for very rare divide-by-zero possibility when deltaTime is 0
  • Loading branch information
AntoineCharton committed Dec 14, 2023
1 parent 06c2761 commit 3972bae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion com.unity.cinemachine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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).


## [Unreleased]
## [2.9.8] - 2023-11-29
- Bugfix: Occasional precision issue when camera rotation is exactly 180 degress, causing roitational flickering.
- Bugfix: CinemachineCollider was causing a pop when OnTargetObjectWarped was called.
- Bugfix: In some circumstances, FramingTransposer was using the wrong FOV or Ortho size for framing.
Expand Down
2 changes: 1 addition & 1 deletion com.unity.cinemachine/Runtime/Core/AxisState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public bool Update(float deltaTime)
input *= m_MaxSpeed; // apply gain
if (deltaTime < 0)
m_CurrentSpeed = 0;
else
else if (deltaTime > 0.0001f)
{
float dampTime = Mathf.Abs(input) < Mathf.Abs(m_CurrentSpeed) ? m_DecelTime : m_AccelTime;
m_CurrentSpeed += Damper.Damp(input - m_CurrentSpeed, dampTime, deltaTime);
Expand Down
12 changes: 6 additions & 6 deletions com.unity.cinemachine/ValidationExceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@
{
"ValidationTest": "API Validation",
"ExceptionMessage": "Additions require a new minor or major version.",
"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "New assembly \"com.unity.cinemachine.Tests\" may only be added in a new minor or major version.",

"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "New assembly \"com.unity.cinemachine.EditorTests\" may only be added in a new minor or major version.",
"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "Breaking changes require a new major version.",
"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "New assembly \"Cinemachine.Runtime.Tests\" may only be added in a new minor or major version.",
"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "New assembly \"Cinemachine.Editor.Tests\" may only be added in a new minor or major version.",
"PackageVersion": "2.9.7"
"PackageVersion": "2.9.8"
}
],
"WarningExceptions": []
Expand Down

0 comments on commit 3972bae

Please sign in to comment.