diff options
| author | Yuri Rubinsky <chaosus89@gmail.com> | 2023-09-30 09:34:35 +0300 |
|---|---|---|
| committer | Yuri Rubinsky <chaosus89@gmail.com> | 2023-09-30 09:53:12 +0300 |
| commit | 8980211c08c4b9693558a69f90a16be3c3e68969 (patch) | |
| tree | effab6333d30d45491ad21c07ae88c44bba1ff20 | |
| parent | 44e399ed5fa895f760b2995e59788bdb49782666 (diff) | |
| download | redot-engine-8980211c08c4b9693558a69f90a16be3c3e68969.tar.gz | |
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 |
