private void OpenModelFile(string file) { _mesh = new CustomMesh(file); _mesh.OnAnimationChanged += UpdateAnimationList; Viewport.AddMesh(_mesh); UpdateAnimationList(); }