diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-11 13:09:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-11 13:09:57 +0400 |
commit | 4aa2ad003b5a71fefbce5c89907d74c73b5d93da (patch) | |
tree | aeeb0908614de273890e124ffe71fec4793c2d09 /release | |
parent | 2980d902b94bddac0a9ebcb6023343b18f1a482e (diff) |
game world buttons had old property name for mist toggle
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_game.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_game.py b/release/scripts/ui/properties_game.py index 371cc0014f9..9ec7168f834 100644 --- a/release/scripts/ui/properties_game.py +++ b/release/scripts/ui/properties_game.py @@ -458,7 +458,7 @@ class WORLD_PT_game_mist(WorldButtonsPanel): def draw_header(self, context): world = context.world - self.layout.prop(world.mist, "enabled", text="") + self.layout.prop(world.mist, "use_mist", text="") def draw(self, context): layout = self.layout @@ -466,7 +466,7 @@ class WORLD_PT_game_mist(WorldButtonsPanel): world = context.world wide_ui = context.region.width > narrowui - layout.active = world.mist.enabled + layout.active = world.mist.use_mist split = layout.split() col = split.column() |