File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1062,9 +1062,9 @@ Animation::TrackType Animation::get_cache_type(TrackType p_type) {
10621062}
10631063
10641064void Animation::_track_update_hash (int p_track) {
1065- NodePath track_path = tracks[p_track]->path ;
1066- TrackType track_cache_type = get_cache_type (tracks[p_track]->type );
1067- tracks[p_track]->thash = StringName ( String (track_path. get_concatenated_names ()) + String (track_path. get_concatenated_subnames ()) + itos ( track_cache_type)). hash ( );
1065+ const NodePath & track_path = tracks[p_track]->path ;
1066+ const TrackType track_cache_type = get_cache_type (tracks[p_track]->type );
1067+ tracks[p_track]->thash = HashMapHasherDefault::hash (Pair< const NodePath &, TrackType> (track_path, track_cache_type));
10681068}
10691069
10701070Animation::TypeHash Animation::track_get_type_hash (int p_track) const {
You can’t perform that action at this time.
0 commit comments