GP: More tweaks to Time Offset
This commit is contained in:
parent
fee6ab18e7
commit
abbe4df301
|
@ -129,8 +129,9 @@ static int remapTime(
|
|||
}
|
||||
}
|
||||
|
||||
if (cfra > efra) {
|
||||
cfra = sfra + (cfra - ((cfra / efra) * efra)) - 1;
|
||||
if (cfra >= efra) {
|
||||
int delta = efra - sfra + 1;
|
||||
cfra = sfra + (cfra - ((cfra / delta) * delta)) - 1;
|
||||
}
|
||||
|
||||
if (mmd->flag & GP_TIME_KEEP_LOOP) {
|
||||
|
|
Loading…
Reference in New Issue