diff options
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c index 88a5a789466..56743e3c716 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c @@ -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) { |