소스 검색

Fix crash when deleting the player in `AnimationPlayerEditorPlugin`

Yuri Rubinsky 1 년 전
부모
커밋
8980211c08
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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