diff options
Diffstat (limited to 'menuApp/src')
| -rw-r--r-- | menuApp/src/dirscanner.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/menuApp/src/dirscanner.cpp b/menuApp/src/dirscanner.cpp index 46b2165..77c0e15 100644 --- a/menuApp/src/dirscanner.cpp +++ b/menuApp/src/dirscanner.cpp @@ -155,8 +155,8 @@ bool dirPlayer::draw(){ ofLogNotice() << "got slot: "<<slot; if(slot==-1) return false; if (slot!=currentslot){ + ofLogNotice() << "new slot: "<<slot; if (slot>-1){ - ofLogNotice() << "got slot: "<<slot; ofLogNotice() << "entering slot "<<slot<<": "<<scanner->slots[slot].path; load(scanner->slots[slot].path); } @@ -165,6 +165,9 @@ bool dirPlayer::draw(){ } currentslot=slot; } + else { + ofLogNotice() << "reusing slot: "<<slot; + } if (items[currentItem].isFinished){ items[currentItem].isFinished=false; currentItem=(currentItem+1)%items.size(); |
