[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39045] branches/soc-2011-cucumber/release /scripts/startup/bl_ui/properties_game.py: The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely .

Daniel Stokes kupomail at gmail.com
Fri Aug 5 07:40:07 CEST 2011


Revision: 39045
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39045
Author:   kupoman
Date:     2011-08-05 05:40:06 +0000 (Fri, 05 Aug 2011)
Log Message:
-----------
The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely.

Modified Paths:
--------------
    branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py

Modified: branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py
===================================================================
--- branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py	2011-08-05 05:26:19 UTC (rev 39044)
+++ branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py	2011-08-05 05:40:06 UTC (rev 39045)
@@ -292,11 +292,11 @@
         row.prop(gs, "resolution_x", slider=False, text="X")
         row.prop(gs, "resolution_y", slider=False, text="Y")
         row = layout.row()
-        row.prop(gs, "show_fullscreen")
-        if gs.show_fullscreen:
-            row.prop(gs, "use_desktop")
-        else:
-            row.label()
+        col = row.column()
+        col.prop(gs, "show_fullscreen")
+        col = row.column()
+        col.prop(gs, "use_desktop")
+        col.active = gs.show_fullscreen
         
         col = layout.column()
         col.label(text="Quality:")




More information about the Bf-blender-cvs mailing list