Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-22 21:23:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-22 21:23:08 +0400
commita60f79daf784c179ef4a1bb981b1050eb28741f0 (patch)
treeb6b89eb51914cf6f21ee86d2d39f59adf4fe0470 /release/scripts
parente4700ba58b5a2b6456fecbf6b2896e3ae8b7a6d7 (diff)
- rna py-api bug fix, a NULL item in a collection was raising an error
eg: mesh.materials[0] ... when this was an empty slot. - game world mist panel wasnt updated for rna renaming.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/ui/properties_game.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_game.py b/release/scripts/ui/properties_game.py
index 7735db8228c..8d2f075fce0 100644
--- a/release/scripts/ui/properties_game.py
+++ b/release/scripts/ui/properties_game.py
@@ -425,21 +425,21 @@ class WORLD_PT_game_mist(WorldButtonsPanel, bpy.types.Panel):
def draw_header(self, context):
world = context.world
- self.layout.prop(world.mist, "use_mist", text="")
+ self.layout.prop(world.mist_settings, "use_mist", text="")
def draw(self, context):
layout = self.layout
world = context.world
- layout.active = world.mist.use_mist
+ layout.active = world.mist_settings.use_mist
split = layout.split()
col = split.column()
- col.prop(world.mist, "start")
+ col.prop(world.mist_settings, "start")
col = split.column()
- col.prop(world.mist, "depth")
+ col.prop(world.mist_settings, "depth")
class WORLD_PT_game_physics(WorldButtonsPanel, bpy.types.Panel):