GP: Fix Time Offset bug when use range

The frames greater than frame range were wrongly calculated.
This commit is contained in:
Antonio Vazquez 2018-11-05 18:35:34 +01:00
parent b4dfe00fd6
commit a120b120ce
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ static int remapTime(
}
if (cfra > efra) {
cfra = sfra + (cfra - ((cfra / efra) * efra));
cfra = sfra + (cfra - ((cfra / efra) * efra)) - 1;
}
if (mmd->flag & GP_TIME_KEEP_LOOP) {