diff --git a/src/ofxImageSequence.cpp b/src/ofxImageSequence.cpp index 47cc3aa..3d07ded 100644 --- a/src/ofxImageSequence.cpp +++ b/src/ofxImageSequence.cpp @@ -389,7 +389,7 @@ void ofxImageSequence::setFrameRate(float rate) } string ofxImageSequence::getFilePath(int index){ - if(index > 0 && index < filenames.size()){ + if(index >= 0 && index < filenames.size()){ return filenames[index]; } ofLogError("ofxImageSequence::getFilePath") << "Getting filename outside of range";