GP: Fix Time Offset bug when use range
The frames greater than frame range were wrongly calculated.
This commit is contained in:
parent
b4dfe00fd6
commit
a120b120ce
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue