/////////////////////////////////////////////////////////////////////
| 686 | |
| 687 | ////////////////////////////////////////////////////////////////////////// |
| 688 | void CTrackViewDialog::SetCurrentSequence( IAnimSequence *curr ) |
| 689 | { |
| 690 | if (curr) |
| 691 | { |
| 692 | m_currSequence = curr; |
| 693 | GetIEditor()->GetAnimation()->SetSequence( m_currSequence ); |
| 694 | m_currSequenceName = curr->GetName(); |
| 695 | |
| 696 | m_wndNodes.SetSequence( m_currSequence ); |
| 697 | Range timeRange = m_currSequence->GetTimeRange(); |
| 698 | m_wndKeys.SetTimeRange( timeRange.start,timeRange.end ); |
| 699 | m_wndKeys.SetStartMarker( timeRange.start ); |
| 700 | m_wndKeys.SetEndMarker( timeRange.end ); |
| 701 | |
| 702 | m_sequences.SelectString(-1,m_currSequenceName); |
| 703 | } |
| 704 | else |
| 705 | { |
| 706 | m_currSequence = curr; |
| 707 | GetIEditor()->GetAnimation()->SetSequence( 0 ); |
| 708 | m_currSequenceName = ""; |
| 709 | m_wndNodes.SetSequence( 0 ); |
| 710 | } |
| 711 | } |
| 712 | |
| 713 | ////////////////////////////////////////////////////////////////////////// |
| 714 | void CTrackViewDialog::OnRecord() |
nothing calls this directly
no test coverage detected