Use static LocalVector for processed_hashes
This commit is contained in:
parent
3580ced21e
commit
660e28f5cb
|
@ -1085,7 +1085,8 @@ void AnimationMixer::_blend_calc_total_weight() {
|
|||
real_t weight = ai.playback_info.weight;
|
||||
const real_t *track_weights_ptr = ai.playback_info.track_weights.ptr();
|
||||
int track_weights_count = ai.playback_info.track_weights.size();
|
||||
Vector<Animation::TypeHash> processed_hashes;
|
||||
static LocalVector<Animation::TypeHash> processed_hashes;
|
||||
processed_hashes.clear();
|
||||
const Vector<Animation::Track *> tracks = a->get_tracks();
|
||||
for (const Animation::Track *animation_track : tracks) {
|
||||
if (!animation_track->enabled) {
|
||||
|
|
|
@ -91,13 +91,13 @@ public:
|
|||
};
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
enum HandleMode{
|
||||
enum HandleMode {
|
||||
HANDLE_MODE_FREE,
|
||||
HANDLE_MODE_LINEAR,
|
||||
HANDLE_MODE_BALANCED,
|
||||
HANDLE_MODE_MIRRORED,
|
||||
};
|
||||
enum HandleSetMode{
|
||||
enum HandleSetMode {
|
||||
HANDLE_SET_MODE_NONE,
|
||||
HANDLE_SET_MODE_RESET,
|
||||
HANDLE_SET_MODE_AUTO,
|
||||
|
|
Loading…
Reference in New Issue