Merge pull request #231 from eisneinechse/develop

Simplification
This commit is contained in:
Jonathan Thomas
2019-05-07 14:15:10 -05:00
committed by GitHub

View File

@@ -327,11 +327,7 @@ bool Keyframe::IsIncreasing(int index)
}
}
if (current_value < next_value) {
// Increasing
return true;
}
else if (current_value >= next_value) {
if (current_value >= next_value) {
// Decreasing
return false;
}