diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-26 03:18:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-26 03:18:54 +0400 |
commit | 679046743fd861c7406ed294cfa3a1d4f4873693 (patch) | |
tree | d3713627f773ed5505b5fa34d7c5ddf41cce385b /release/scripts/modules | |
parent | d822624adcaa04483cc7d694baa728a281de9b3d (diff) |
Fix T41584: bpy.utils.time_from_frame out by a day
Fix from retroj
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py index 5621af29bc3..0867a4a7b6a 100644 --- a/release/scripts/modules/bpy/utils.py +++ b/release/scripts/modules/bpy/utils.py @@ -440,7 +440,7 @@ def time_from_frame(frame, fps=None, fps_base=None): from datetime import timedelta - return timedelta((frame * fps_base) / fps) + return timedelta(0, (frame * fps_base) / fps) def time_to_frame(time, fps=None, fps_base=None): |