frame count check 2 electric boogaloo
re-fix the same bug oh joy
This commit is contained in:
parent
6db808ec60
commit
530721f2d0
@ -178,9 +178,14 @@ void AOCharMovie::movie_ticker()
|
|||||||
// imagine if QT had sane stuff like "mirror on QMovie" or "resize the image on QT" or "interface with the current QMovie image" or anything else
|
// imagine if QT had sane stuff like "mirror on QMovie" or "resize the image on QT" or "interface with the current QMovie image" or anything else
|
||||||
|
|
||||||
this->play_frame_sfx();
|
this->play_frame_sfx();
|
||||||
if(!apng){
|
if (m_movie->frameCount() == 0) {
|
||||||
|
//qDebug() << "Frame count was checked again, and it's still 0";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else if(!apng) {
|
||||||
ticker->start(m_movie->nextFrameDelay());
|
ticker->start(m_movie->nextFrameDelay());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user