Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_time.py
| Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | class TIME_PT_playback(TimelinePanelButtons, Panel): | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False | layout.use_property_decorate = False | ||||
| screen = context.screen | screen = context.screen | ||||
| scene = context.scene | scene = context.scene | ||||
| col = layout.column() | layout.prop(scene, "sync_mode", text="Synchronization") | ||||
HooglyBoogly: This is a bit picky but this column is unnecessary now, this would be the same:
`layout.prop… | |||||
| col.prop(scene, "sync_mode", text="Audio") | col = layout.column(heading="Audio") | ||||
Done Inline ActionsSynchronization is a long word and can be hard to to read quickly. Sync might make more sense. Although it is an abbreviation it is a quit common short hand and still reads with the same meaning. Blendify: Synchronization is a long word and can be hard to to read quickly. Sync might make more sense. | |||||
| col.prop(scene, "use_audio_scrub", text="Scrubbing") | col.prop(scene, "use_audio_scrub", text="Scrubbing") | ||||
| col.prop(scene, "use_audio", text="Mute") | col.prop(scene, "use_audio", text="Mute") | ||||
| col = layout.column(heading="Playback") | col = layout.column(heading="Playback") | ||||
| col.prop(scene, "lock_frame_selection_to_range", text="Limit to Frame Range") | col.prop(scene, "lock_frame_selection_to_range", text="Limit to Frame Range") | ||||
| col.prop(screen, "use_follow", text="Follow Current Frame") | col.prop(screen, "use_follow", text="Follow Current Frame") | ||||
| col = layout.column(heading="Play In") | col = layout.column(heading="Play In") | ||||
| ▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines | |||||
This is a bit picky but this column is unnecessary now, this would be the same:
layout.prop(scene, "sync_mode", text="Synchronization")