| 156 | } |
| 157 | |
| 158 | void CFrameEditorModel::PasteSelection(const CFrameClipData &clipdata, const CFrameCursorPos &pos) { |
| 159 | CFrameIterator it {*view_->GetSongView(), pos}; |
| 160 | for (int f = 0; f < clipdata.ClipInfo.Frames; ++f) { |
| 161 | for (int c = 0; c < clipdata.ClipInfo.Channels; ++c) |
| 162 | it.Set(c + /*it.m_iChannel*/ clipdata.ClipInfo.FirstChannel, clipdata.GetFrame(f, c)); |
| 163 | ++it; |
| 164 | if (it.m_iFrame == 0) |
| 165 | break; |
| 166 | } |
| 167 | } |
no test coverage detected