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