diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-10-30 17:09:31 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-10-30 17:09:31 +0400 |
commit | ae9c4b164951e34d3d0858a990ea58c0eb2ced75 (patch) | |
tree | 5bdccc7aacfb15d5498f3bfb0553de98116525d6 | |
parent | ef3e5a3d71d1816d31666fa8dc6ad3e81195d7e8 (diff) |
Info text for scene strips showing the frame range that's set in the scene
* Related to bug report [#24329] scene length not updated in VSE
* This data is nice to have in the sequencer without having to go the actual scene that's added as a strip.
-rw-r--r-- | release/scripts/ui/space_sequencer.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/ui/space_sequencer.py b/release/scripts/ui/space_sequencer.py index 5051f1f8b8e..1e1b3f9751c 100644 --- a/release/scripts/ui/space_sequencer.py +++ b/release/scripts/ui/space_sequencer.py @@ -661,6 +661,9 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel, bpy.types.Panel): layout.label(text="Camera Override") layout.template_ID(strip, "scene_camera") + sce = strip.scene + layout.label(text="Original frame range: "+ str(sce.frame_start) +" - "+ str(sce.frame_end) + " (" + str(sce.frame_end-sce.frame_start+1) + ")") + class SEQUENCER_PT_filter(SequencerButtonsPanel, bpy.types.Panel): bl_label = "Filter" |