diff options
author | Thomas Dinges <blender@dingto.org> | 2009-09-20 22:49:46 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-09-20 22:49:46 +0400 |
commit | 85294c6d7e1fcb4bacf39c0ff8c310c5b5a9139f (patch) | |
tree | ed2b8a7d8f64a35e6890c44d3893a3900383d7d7 /release | |
parent | 1de250014de04fb3312725f1fecc6327fa86666d (diff) |
2.5 Game Sound:
* Added Sound Buttons for Game in the Scene Buttons.
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/buttons_game.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/ui/buttons_game.py b/release/ui/buttons_game.py index 73ba566e23f..f3461d3e370 100644 --- a/release/ui/buttons_game.py +++ b/release/ui/buttons_game.py @@ -304,12 +304,25 @@ class SCENE_PT_game_performance(SceneButtonsPanel): col.itemL(text="Render:") col.itemR(gs, "all_frames") col.itemR(gs, "display_lists") + +class SCENE_PT_game_sound(SceneButtonsPanel): + __label__ = "Sound" + + def draw(self, context): + layout = self.layout + + scene = context.scene + + layout.itemR(scene, "distance_model") + layout.itemR(scene, "speed_of_sound", text="Speed") + layout.itemR(scene, "doppler_factor") bpy.types.register(SCENE_PT_game) bpy.types.register(SCENE_PT_game_player) bpy.types.register(SCENE_PT_game_stereo) bpy.types.register(SCENE_PT_game_shading) bpy.types.register(SCENE_PT_game_performance) +bpy.types.register(SCENE_PT_game_sound) class WorldButtonsPanel(bpy.types.Panel): __space_type__ = 'PROPERTIES' |