diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-01 12:52:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-01 12:52:54 +0400 |
commit | c99975e24fe550e46c57639a1f236b89c4745a02 (patch) | |
tree | c9f9e793af6306eb14ddb5da70d848ea71c3cafe /release/scripts/startup/bl_ui/properties_game.py | |
parent | 418d66242fd00ffdbef5447d055811e5eb1bb46e (diff) |
pep8 edits
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_game.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 355a6771022..b7b2acc6b08 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -247,6 +247,7 @@ class RenderButtonsPanel(): class RENDER_PT_embedded(RenderButtonsPanel, bpy.types.Panel): bl_label = "Embedded Player" COMPAT_ENGINES = {'BLENDER_GAME'} + def draw(self, context): layout = self.layout @@ -270,17 +271,17 @@ class RENDER_PT_game_player(RenderButtonsPanel, Panel): layout = self.layout gs = context.scene.game_settings - + row = layout.row() row.operator("wm.blenderplayer_start", text="Start") row.prop(gs, "show_fullscreen") - + row = layout.row() row.label(text="Resolution:") row = layout.row(align=True) row.prop(gs, "resolution_x", slider=False, text="X") row.prop(gs, "resolution_y", slider=False, text="Y") - + col = layout.column() col.label(text="Quality:") col = layout.column(align=True) @@ -288,7 +289,6 @@ class RENDER_PT_game_player(RenderButtonsPanel, Panel): col.prop(gs, "frequency", text="Refresh Rate", slider=False) - class RENDER_PT_game_stereo(RenderButtonsPanel, Panel): bl_label = "Stereo" COMPAT_ENGINES = {'BLENDER_GAME'} @@ -476,6 +476,7 @@ class SCENE_PT_game_navmesh(SceneButtonsPanel, Panel): row.prop(rd, "sample_dist") row.prop(rd, "sample_max_error") + class RENDER_PT_game_sound(RenderButtonsPanel, Panel): bl_label = "Sound" COMPAT_ENGINES = {'BLENDER_GAME'} @@ -491,6 +492,7 @@ class RENDER_PT_game_sound(RenderButtonsPanel, Panel): col.prop(scene, "audio_doppler_speed", text="Speed") col.prop(scene, "audio_doppler_factor") + class WorldButtonsPanel(): bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' |