private void OnAnimationKeyRemoved(AnimationKeyRemoved msg) { if (!_entityId.HasValue) { return; } if (msg.KeyId == _entityId) { ClearTop(); } else if (_editor.GetCurrentAnimation().CurrentFrame == msg.Frame) { RefreshKeyButtonsOnly(); } }
private void OnKeyRemoved(AnimationKeyRemoved msg) { CurrentDocument.ApplyCurrentAnimationFrameToScene(_currentAnimationId); }