summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-01 21:29:33 +0100
committerGitHub <noreply@github.com>2022-02-01 21:29:33 +0100
commitb5707400ebb3daa346fece54c119a5da70852647 (patch)
tree05a82f8a1434e4fa380d9e78cd34c3bcb33ecb1e /editor/animation_track_editor.cpp
parentdc4483a3a74a4cac83fc0387ea4d09066a0a0e1c (diff)
parentfc27636999a15f88b1f3b1d7101d84a67968ba06 (diff)
Merge pull request #57525 from AnilBK/vector-use-clear-has
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index dbbdd85706..433866602b 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -3289,7 +3289,7 @@ AnimationTrackEditGroup::AnimationTrackEditGroup() {
//////////////////////////////////////
void AnimationTrackEditor::add_track_edit_plugin(const Ref<AnimationTrackEditPlugin> &p_plugin) {
- if (track_edit_plugins.find(p_plugin) != -1) {
+ if (track_edit_plugins.has(p_plugin)) {
return;
}
track_edit_plugins.push_back(p_plugin);