Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_sequencer.py
| Show First 20 Lines • Show All 1,566 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| sound = strip.sound | sound = strip.sound | ||||
| layout.active = not strip.mute | layout.active = not strip.mute | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(strip, "volume", text="Volume") | col.prop(strip, "volume", text="Volume") | ||||
| col.prop(strip, "pitch") | col.prop(strip, "pitch") | ||||
| col = layout.column() | |||||
| col.prop(strip, "pan") | col.prop(strip, "pan") | ||||
| col.enabled = sound is not None and sound.use_mono | |||||
| if sound is not None: | if sound is not None: | ||||
| col = layout.column() | |||||
| if st.waveform_display_type == 'DEFAULT_WAVEFORMS': | if st.waveform_display_type == 'DEFAULT_WAVEFORMS': | ||||
| col.prop(strip, "show_waveform") | col.prop(strip, "show_waveform") | ||||
| col.prop(sound, "use_mono") | col.prop(sound, "use_mono") | ||||
| class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, Panel): | class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, Panel): | ||||
| bl_label = "Compositing" | bl_label = "Compositing" | ||||
| bl_parent_id = "SEQUENCER_PT_adjust" | bl_parent_id = "SEQUENCER_PT_adjust" | ||||
| ▲ Show 20 Lines • Show All 599 Lines • Show Last 20 Lines | |||||