GP: Fix Time Offset bug when use range

The frames greater than frame range were wrongly calculated.
This commit is contained in:
Antonioya
2018-11-05 18:35:34 +01:00
parent b4dfe00fd6
commit a120b120ce

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) {