public void ActionPointUpdated(ProjectActionPoint projectActionPoint) { try { ActionPoint actionPoint = GetActionPoint(projectActionPoint.Id); actionPoint.UpdateActionPoint(projectActionPoint); OnActionPointUpdated?.Invoke(this, new ActionPointUpdatedEventArgs(actionPoint)); OnProjectChanged?.Invoke(this, EventArgs.Empty); // TODO - update orientations, joints etc. } catch (KeyNotFoundException ex) { Debug.LogError("Action point " + projectActionPoint.Id + " not found!"); Notifications.Instance.ShowNotification("", "Action point " + projectActionPoint.Id + " not found!"); return; } }