diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 025d86204f2..3470c9577af 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -290,7 +290,9 @@ class RENDER_PT_game_player(RenderButtonsPanel, Panel): COMPAT_ENGINES = {'BLENDER_GAME'} def draw(self, context): + import sys layout = self.layout + not_osx = sys.platform != "darwin" gs = context.scene.game_settings @@ -301,14 +303,17 @@ class RENDER_PT_game_player(RenderButtonsPanel, Panel): row = layout.row() row.label(text="Resolution:") row = layout.row(align=True) + row.active = not_osx or not gs.show_fullscreen row.prop(gs, "resolution_x", slider=False, text="X") row.prop(gs, "resolution_y", slider=False, text="Y") row = layout.row() col = row.column() col.prop(gs, "show_fullscreen") - col = row.column() - col.prop(gs, "use_desktop") - col.active = gs.show_fullscreen + + if not_osx: + col = row.column() + col.prop(gs, "use_desktop") + col.active = gs.show_fullscreen col = layout.column() col.label(text="Quality:")