6777e1b4bf
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage.
By checking the error condition first, we avoid a allocation and thus the leak.
(cherry picked from commit
|
||
---|---|---|
.. | ||
SCsub | ||
animation_blend_space_1d.cpp | ||
animation_blend_space_1d.h | ||
animation_blend_space_2d.cpp | ||
animation_blend_space_2d.h | ||
animation_blend_tree.cpp | ||
animation_blend_tree.h | ||
animation_mixer.cpp | ||
animation_mixer.h | ||
animation_node_state_machine.cpp | ||
animation_node_state_machine.h | ||
animation_player.compat.inc | ||
animation_player.cpp | ||
animation_player.h | ||
animation_tree.compat.inc | ||
animation_tree.cpp | ||
animation_tree.h | ||
easing_equations.h | ||
root_motion_view.cpp | ||
root_motion_view.h | ||
tween.cpp | ||
tween.h |