Explorar o código

Fix crash when deleting the player in `AnimationPlayerEditorPlugin`

Yuri Rubinsky hai 1 ano
pai
achega
8980211c08
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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