eh, hope this fixes
This commit is contained in:
parent
ffc0a2c2aa
commit
f1b3ff276e
1 changed files with 2 additions and 4 deletions
|
@ -227,10 +227,8 @@ int main(int argc, char** argv){
|
|||
if ( !source.getJSON()){
|
||||
playing = 0;
|
||||
}
|
||||
if (source.atKeyframe()){
|
||||
if (playing > 0){
|
||||
--playing;
|
||||
}
|
||||
if (playing > 0 && source.atKeyframe()){
|
||||
--playing;
|
||||
}
|
||||
if (lastTime == 0){
|
||||
lastTime = now - source.getJSON()["time"].asInt();
|
||||
|
|
Loading…
Add table
Reference in a new issue