Fix logical statements

This commit is contained in:
Sergey Parfenyuk
2019-04-27 12:50:31 +02:00
parent 49831a24b0
commit 665a03f9e2
3 changed files with 4 additions and 4 deletions

View File

@@ -784,7 +784,7 @@ void Keyframe::ProcessSegment(int Segment, Point p1, Point p2) {
// Add new value to the vector
Coordinate new_coord(current_frame, current_value);
if (Segment == 0 || Segment > 0 && current_frame > p1.co.X)
if (Segment == 0 || (Segment > 0 && current_frame > p1.co.X))
// Add to "values" vector
Values.push_back(new_coord);