Fix crash when deleting the player in AnimationPlayerEditorPlugin
This commit is contained in:
parent
44e399ed5f
commit
8980211c08
@ -2203,9 +2203,6 @@ AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin() {
|
|||||||
if (dummy_player) {
|
if (dummy_player) {
|
||||||
memdelete(dummy_player);
|
memdelete(dummy_player);
|
||||||
}
|
}
|
||||||
if (player) {
|
|
||||||
memdelete(player);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// AnimationTrackKeyEditEditorPlugin
|
// AnimationTrackKeyEditEditorPlugin
|
||||||
|
Loading…
Reference in New Issue
Block a user