Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_sequencer.py
| Show First 20 Lines • Show All 1,130 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| # Current element for the filename. | # Current element for the filename. | ||||
| elem = strip.strip_elem_from_frame(scene.frame_current) | elem = strip.strip_elem_from_frame(scene.frame_current) | ||||
| if elem: | if elem: | ||||
| col.prop(elem, "filename", text="") # strip.elements[0] could be a fallback | col.prop(elem, "filename", text="") # strip.elements[0] could be a fallback | ||||
| col.prop(strip.colorspace_settings, "name", text="Color Space") | col.prop(strip.colorspace_settings, "name", text="Color Space") | ||||
| col.prop(strip, "alpha_mode", text="Alpha") | |||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.operator("sequencer.change_path", text="Change Data/Files", icon='FILEBROWSER').filter_image = True | sub.operator("sequencer.change_path", text="Change Data/Files", icon='FILEBROWSER').filter_image = True | ||||
| else: # elif strip_type == 'MOVIE': | else: # elif strip_type == 'MOVIE': | ||||
| elem = strip.elements[0] | elem = strip.elements[0] | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(strip, "filepath", text="") | col.prop(strip, "filepath", text="") | ||||
| col.prop(strip.colorspace_settings, "name", text="Color Space") | col.prop(strip.colorspace_settings, "name", text="Color Space") | ||||
| ▲ Show 20 Lines • Show All 471 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| strip = act_strip(context) | strip = act_strip(context) | ||||
| layout.active = not strip.mute | layout.active = not strip.mute | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(strip, "color_saturation", text="Saturation") | col.prop(strip, "color_saturation", text="Saturation") | ||||
| col.prop(strip, "color_multiply", text="Multiply") | col.prop(strip, "color_multiply", text="Multiply") | ||||
| col.prop(strip, "use_float", text="Convert to Float") | col.prop(strip, "use_float", text="Convert to Float") | ||||
| col.prop(strip, "alpha_mode", text="Alpha") | |||||
| class SEQUENCER_PT_cache_settings(SequencerButtonsPanel, Panel): | class SEQUENCER_PT_cache_settings(SequencerButtonsPanel, Panel): | ||||
| bl_label = "Cache Settings" | bl_label = "Cache Settings" | ||||
| bl_category = "Proxy & Cache" | bl_category = "Proxy & Cache" | ||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| ▲ Show 20 Lines • Show All 438 Lines • Show Last 20 Lines | |||||