Skip to content

Commit

Permalink
[yarpdataplayer] play a dataset with one entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Tikhanoff committed Oct 26, 2016
1 parent 6fe4c59 commit a7f51e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/yarpdataplayer/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ bool Utilities::checkLogValidity(const char *filename)
int itr = 0;
while( getline( str, line ) && itr < 3){
Bottle b( line.c_str() );
if (itr >= 1){
if (itr >= 0){
if ( b.size() < 1){
check = false;
} else {
Expand Down
3 changes: 2 additions & 1 deletion src/yarpdataplayer/src/worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ void MasterThread::runNormally()

if (stopAll == numPart){
LOG("All parts have Finished!\n");
utilities->updateGuiThread();
if (utilities->partDetails[i].currFrame > 1)
utilities->updateGuiThread();
utilities->stopAtEnd();
}
}
Expand Down

0 comments on commit a7f51e4

Please sign in to comment.