* UI for recent sound commit.

This commit is contained in:
Thomas Dinges
2009-09-20 14:14:40 +00:00
parent 1185be4355
commit ec8c47f0c0
2 changed files with 7 additions and 6 deletions

View File

@@ -323,8 +323,10 @@ class SCENE_PT_encoding(RenderButtonsPanel):
col = split.column()
col.itemR(rd, "ffmpeg_audio_bitrate")
col.itemR(rd, "ffmpeg_audio_mixrate")
col = split.column()
col.itemR(rd, "ffmpeg_multiplex_audio")
col.itemR(rd, "ffmpeg_audio_volume")
class SCENE_PT_antialiasing(RenderButtonsPanel):
__label__ = "Anti-Aliasing"

View File

@@ -9,7 +9,6 @@ class TIME_HT_header(bpy.types.Header):
st = context.space_data
scene = context.scene
rd = context.scene.render_data
tools = context.tool_settings
screen = context.screen
@@ -55,7 +54,7 @@ class TIME_HT_header(bpy.types.Header):
subsub = row.row()
subsub.itemR(tools, "record_with_nla", toggle=True)
layout.itemR(rd, "sync_audio", text="", toggle=True, icon='ICON_SPEAKER')
layout.itemR(scene, "sync_audio", text="", toggle=True, icon='ICON_SPEAKER')
layout.itemS()
@@ -112,7 +111,7 @@ class TIME_MT_playback(bpy.types.Menu):
layout = self.layout
st = context.space_data
rd = context.scene.render_data
scene = context.scene
layout.itemR(st, "play_top_left")
layout.itemR(st, "play_all_3d")
@@ -127,10 +126,10 @@ class TIME_MT_playback(bpy.types.Menu):
layout.itemS()
layout.itemR(rd, "sync_audio", icon='ICON_SPEAKER')
layout.itemR(scene, "sync_audio", icon='ICON_SPEAKER')
layout.itemR(scene, "mute_audio")
layout.itemR(scene, "scrub_audio")
class TIME_MT_autokey(bpy.types.Menu):
__space_type__ = 'TIMELINE'
__label__ = "Auto-Keyframing Mode"