Example #1
0
        private void OnViewModelPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            this.UpdateState();

            if (e.PropertyName == nameof(this.viewModel.FlipSides))
            {
                this.SetBone(SimplePoseViewModel.GetBoneName(this.BoneName, this.viewModel.FlipSides));
            }
            else if (e.PropertyName == nameof(this.viewModel.Bones))
            {
                this.SetBone(this.BoneName);
            }
        }