diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-22 15:19:12 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-22 15:19:12 +0400 |
commit | 1b106439209566e3cce548237916e16b7dab1277 (patch) | |
tree | c027db685ec669be92d2b62fce2825d1f1a10695 /release | |
parent | c0eadedb7061ac9f69b3f8ecf5fd675d6a22221c (diff) |
Footage information panel
Displays such information as current frame dimension,
frame number within image sequence/movie and in case
of image sequence input displays current file name of
a frame.
Not entirely happy with such approach, but was requested
a lot by artists.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index d81356b3113..cadf01ccbba 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -875,6 +875,22 @@ class CLIP_PT_footage(CLIP_PT_clip_view_panel, Panel): col.prop(clip, "frame_offset") +class CLIP_PT_footage_info(CLIP_PT_clip_view_panel, Panel): + bl_space_type = 'CLIP_EDITOR' + bl_region_type = 'UI' + bl_label = "Footage Information" + bl_options = {'DEFAULT_CLOSED'} + + def draw(self, context): + layout = self.layout + + sc = context.space_data + clip = sc.clip + + col = layout.column() + col.template_movieclip_information(sc, "clip", sc.clip_user) + + class CLIP_PT_tools_clip(CLIP_PT_clip_view_panel, Panel): bl_space_type = 'CLIP_EDITOR' bl_region_type = 'TOOLS' |