public void ActionPointOrientationBaseUpdated(NamedOrientation orientation) { try { ActionPoint actionPoint = ProjectManager.Instance.GetActionPointWithOrientation(orientation.Id); actionPoint.BaseUpdateOrientation(orientation); OnActionPointUpdated?.Invoke(this, new ActionPointUpdatedEventArgs(actionPoint)); OnProjectChanged?.Invoke(this, EventArgs.Empty); } catch (KeyNotFoundException ex) { Debug.LogError(ex); Notifications.Instance.ShowNotification("Failed to update action point orientation", ex.Message); return; } }