diff options
author | Ricardo Pérez <ricpelo@gmail.com> | 2015-05-05 22:27:05 +0200 |
---|---|---|
committer | Ricardo Pérez <ricpelo@gmail.com> | 2015-05-05 22:27:05 +0200 |
commit | 7bb53831d8aec2507f6341bd00deae29fde8e2c2 (patch) | |
tree | bf6ce42c3dfee2707f7b8adff072297603b59a23 /scene/resources/animation.cpp | |
parent | af068439829a3fec3a76c4c5d4dd2dba71ab6c5f (diff) | |
parent | bc3c14a76b988a50e65328a932316c2e630a7ae6 (diff) |
Merge pull request #6 from okamstudio/master
Sync
Diffstat (limited to 'scene/resources/animation.cpp')
-rw-r--r-- | scene/resources/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index 0f11a66703..095406dad9 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -1216,8 +1216,8 @@ T Animation::_interpolate( const Vector< TKey<T> >& p_keys, float p_time, Inter if (p_ok) *p_ok=true; - - int next; + + int next=0; float c=0; // prepare for all cases of interpolation |