Fixes minor issues found by static analyzer
This commit is contained in:
parent
d897131ac5
commit
9a77d748c0
26 changed files with 39 additions and 45 deletions
|
|
@ -1815,7 +1815,7 @@ T Animation::_interpolate(const Vector<TKey<T> > &p_keys, float p_time, Interpol
|
|||
next = idx;
|
||||
}
|
||||
|
||||
} else if (idx < 0) {
|
||||
} else {
|
||||
|
||||
// only allow extending first key to anim start if looping
|
||||
if (loop)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue