Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Bernal <jbernalmartinez@gmail.com>2015-01-29 10:22:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-29 10:26:28 +0300
commitc44d7b0340e6b21444b3218d58857a88b6b32fdd (patch)
treeee38c2c0dc7a9d4b8d937bae24ecc94119237aa7 /release/scripts/startup/bl_ui/properties_scene.py
parent3cf7a8008ee8bd90ee00b9e6d9949cf54aa0ef1f (diff)
BGE: Remove duplicated audio panel from Render context
This commit removes the audio panel from Render context as it exists a similar panel in Scene context. Also, it gives to the Distance Model a similar UI layout as it was in the removed render->audio panel
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_scene.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index d601e5619a5..facf54d358a 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -263,10 +263,11 @@ class SCENE_PT_audio(SceneButtonsPanel, Panel):
split = layout.split()
col = split.column()
- col.label("Listener:")
+ col.label("Distance Model:")
col.prop(scene, "audio_distance_model", text="")
- col.prop(scene, "audio_doppler_speed", text="Speed")
- col.prop(scene, "audio_doppler_factor", text="Doppler")
+ sub = col.column(align=True)
+ sub.prop(scene, "audio_doppler_speed", text="Speed")
+ sub.prop(scene, "audio_doppler_factor", text="Doppler")
col = split.column()
col.label("Format:")