summaryrefslogtreecommitdiffstats
path: root/scene/resources/animation.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-03-03 12:45:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-03-03 12:45:20 +0100
commit467f18b738d0eabf57f6dddf333869a155b6906a (patch)
tree66f018ee2954f1acb9c3a37653be546b98441446 /scene/resources/animation.cpp
parentc0e1c66e3def1383fb373454fe98de228b153159 (diff)
downloadredot-engine-467f18b738d0eabf57f6dddf333869a155b6906a.tar.gz
Fix style issues from recent commits
Diffstat (limited to 'scene/resources/animation.cpp')
-rw-r--r--scene/resources/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index 047790cbde..3eb16c544c 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -1839,7 +1839,7 @@ void Animation::_value_track_get_key_indices_in_range(const ValueTrack *vt, floa
to_time = length * 1.001; //include a little more if at the end
int to = _find(vt->values, to_time);
- if (to>=0 && from_time == to_time && vt->values[to].time==from_time) {
+ if (to >= 0 && from_time == to_time && vt->values[to].time == from_time) {
//find exact (0 delta), return if found
p_indices->push_back(to);
return;