Merge branch 'development' into LTS_development
# Conflicts: # src/input/input_buffer.cpp
This commit is contained in:
commit
d504bbe720
1 changed files with 10 additions and 8 deletions
|
@ -358,20 +358,22 @@ namespace Mist {
|
||||||
curPage.erase(tid);
|
curPage.erase(tid);
|
||||||
bufferLocations[tid].erase(bufferLocations[tid].begin());
|
bufferLocations[tid].erase(bufferLocations[tid].begin());
|
||||||
}
|
}
|
||||||
//Reset the userpage, to allow repushing from TS
|
if (pushLocation.count(it->first)){
|
||||||
IPC::userConnection userConn(pushLocation[it->first]);
|
//Reset the userpage, to allow repushing from TS
|
||||||
for (int i = 0; i < SIMUL_TRACKS; i++){
|
IPC::userConnection userConn(pushLocation[it->first]);
|
||||||
if (userConn.getTrackId(i) == it->first) {
|
for (int i = 0; i < SIMUL_TRACKS; i++){
|
||||||
userConn.setTrackId(i, 0);
|
if (userConn.getTrackId(i) == it->first) {
|
||||||
userConn.setKeynum(i, 0);
|
userConn.setTrackId(i, 0);
|
||||||
break;
|
userConn.setKeynum(i, 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
pushLocation.erase(it->first);
|
||||||
}
|
}
|
||||||
curPageNum.erase(it->first);
|
curPageNum.erase(it->first);
|
||||||
metaPages[it->first].master = true;
|
metaPages[it->first].master = true;
|
||||||
metaPages.erase(it->first);
|
metaPages.erase(it->first);
|
||||||
activeTracks.erase(it->first);
|
activeTracks.erase(it->first);
|
||||||
pushLocation.erase(it->first);
|
|
||||||
myMeta.tracks.erase(it->first);
|
myMeta.tracks.erase(it->first);
|
||||||
changed = true;
|
changed = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue