diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:16:35 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:16:35 +0200 |
commit | 1d6f37f80c01cfedef365179e1749480c7924ac2 (patch) | |
tree | 0f7c838c73d27ec7b817cf8b087577908dca7c32 | |
parent | 5fe97c58449e610eb3b261d8b03662c90b9a351d (diff) | |
parent | 8980211c08c4b9693558a69f90a16be3c3e68969 (diff) | |
download | redot-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.cpp | 3 |
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 |