Beispiel #1
0
        void _control_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e)
        {
            if (_currentTrialIndex == e.SelectedIndex)
            {
                return;
            }

            _currentTrialIndex = e.SelectedIndex;
            ResetAnimationControl();
            _fullXromm.SetToPositionAndFixedBoneAndTrial(_animationControl.currentFrame, _fixedBoneIndex, _currentTrialIndex);
        }
Beispiel #2
0
        void _control_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e)
        {
            if (_currentPositionIndex == e.SelectedIndex)
            {
                return;
            }

            if (_positionGraph != null)
            {
                _positionGraph.setCurrentVisisblePosture(e.SelectedIndex);
            }

            MoveToPosition(e.SelectedIndex, _fixedBoneIndex);
        }
Beispiel #3
0
 void _positionGraph_SelectedSeriesChanged(object sender, SelectedSeriesChangedEventArgs e)
 {
     //update the visible control, that will send out another event and make the actual position change :)
     _wristControl.selectedSeriesIndex = e.SelectedIndex;
 }