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