Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_sequencer.py
| Show First 20 Lines • Show All 1,936 Lines • ▼ Show 20 Lines | class SEQUENCER_PT_strip_proxy(SequencerButtonsPanel, Panel): | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| if not cls.has_sequencer(context) and context.scene.sequence_editor: | if not cls.has_sequencer(context) and context.scene.sequence_editor: | ||||
| return False | return False | ||||
| strip = act_strip(context) | strip = act_strip(context) | ||||
| if not strip: | if not strip: | ||||
| return False | return False | ||||
| return strip.type in {'MOVIE', 'IMAGE', 'SCENE', 'META', 'MULTICAM'} | return strip.type in {'MOVIE', 'IMAGE'} | ||||
| def draw_header(self, context): | def draw_header(self, context): | ||||
| strip = act_strip(context) | strip = act_strip(context) | ||||
| self.layout.prop(strip, "use_proxy", text="") | self.layout.prop(strip, "use_proxy", text="") | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 421 Lines • Show Last 20 Lines | |||||