Fix make sub-resource crash in AnimationTreeEditor
Fix make sub-resource crash in AnimationTreeEditor

(cherry picked from commit 274ed822836b435ab7d5f66b20526f9da18105d7)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot