Browse Source

Merge pull request #82573 from Chaosus/fix_animationtree_crash

Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
Rémi Verschelde 1 year ago
parent
commit
1d6f37f80c
1 changed files with 0 additions and 3 deletions
  1. 0 3
      editor/plugins/animation_player_editor_plugin.cpp

+ 0 - 3
editor/plugins/animation_player_editor_plugin.cpp

@@ -2203,9 +2203,6 @@ AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin() {
 	if (dummy_player) {
 		memdelete(dummy_player);
 	}
-	if (player) {
-		memdelete(player);
-	}
 }
 
 // AnimationTrackKeyEditEditorPlugin