summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-10-02 13:16:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-10-02 13:16:35 +0200
commit1d6f37f80c01cfedef365179e1749480c7924ac2 (patch)
tree0f7c838c73d27ec7b817cf8b087577908dca7c32
parent5fe97c58449e610eb3b261d8b03662c90b9a351d (diff)
parent8980211c08c4b9693558a69f90a16be3c3e68969 (diff)
downloadredot-engine-1d6f37f80c01cfedef365179e1749480c7924ac2.tar.gz
Merge pull request #82573 from Chaosus/fix_animationtree_crash
Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp
index f2225fabad..7b48e6fbe9 100644
--- a/editor/plugins/animation_player_editor_plugin.cpp
+++ b/editor/plugins/animation_player_editor_plugin.cpp
@@ -2203,9 +2203,6 @@ AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin() {
if (dummy_player) {
memdelete(dummy_player);
}
- if (player) {
- memdelete(player);
- }
}
// AnimationTrackKeyEditEditorPlugin