Editor: fix add a sprite animation with an empty name.
Editor: fix sprite animation direction previewer update.