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-25 04:21:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-25 04:21:34 +0400
commite7a1acb1f606a17699d9e0affa93c2e7258e6cf6 (patch)
tree4594518213ecba1aeafca7e255eb86b789dd8ad9 /release
parentfc0af23d2de880c5555fceadeb68f270ccc3fe7a (diff)
patch [#23471] x3d export broken: empty files
from Christopher Creutzig (ccreutzig)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/io/export_x3d.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/release/scripts/io/export_x3d.py b/release/scripts/io/export_x3d.py
index c98debd5c60..12fe63f5296 100644
--- a/release/scripts/io/export_x3d.py
+++ b/release/scripts/io/export_x3d.py
@@ -258,12 +258,9 @@ class x3d_class:
def writeFog(self, world):
if world:
- mtype = world.mist.falloff
- # mtype = world.getMistype()
- mparam = world.mist
- # mparam = world.getMist()
+ mtype = world.mist_settings.falloff
+ mparam = world.mist_settings
grd = world.horizon_color
- # grd = world.getHor()
grd0, grd1, grd2 = grd[0], grd[1], grd[2]
else:
return
@@ -731,7 +728,7 @@ class x3d_class:
def writeBackground(self, world, alltextures):
if world: worldname = world.name
else: return
- blending = (world.blend_sky, world.paper_sky, world.use_sky_real)
+ blending = (world.use_sky_blend, world.use_sky_paper, world.use_sky_real)
# blending = world.getSkytype()
grd = world.horizon_color
# grd = world.getHor()