Skip to content

Commit

Permalink
ClampedValue: do not return NaN
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Oct 9, 2024
1 parent 7244f13 commit 67b53db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Animators/clampedvalue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ qreal ClampedValue::getRawSavedValue() const {
}

qreal ClampedValue::getRawValue() const {
if (mValue != mValue) { return 0.; }
return mValue;
}

Expand Down

0 comments on commit 67b53db

Please sign in to comment.