diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-13 01:25:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-13 01:25:23 +0400 |
commit | 5dc0b35a019651e052c7770330aafc7f2d7fb690 (patch) | |
tree | 6902f7e9e431868947bd0c5bcbb15696959fa99a /release | |
parent | 92d948307549ce1d69ec4e41e42b442360b9bade (diff) |
Added frame offset slider to clip datablocks
In contrast to start_frame (which affects on where footage actually
starts to play and also affects on all data associated with a clip
such as motion tracking, reconstruction and so on) this slider only
affects on a way how frame number is mapping to a filename, without
touching any kind of tracking data.
The formula is:
file_name = clip_file_name + frame_offset - (start_frame - 1)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index e9997d43c04..55922da3892 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -1013,6 +1013,7 @@ class CLIP_PT_footage(CLIP_PT_clip_view_panel, Panel): col = layout.column() col.template_movieclip(sc, "clip", compact=True) col.prop(clip, "start_frame") + col.prop(clip, "frame_offset") class CLIP_PT_tools_clip(CLIP_PT_clip_view_panel, Panel): |