]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/scene.py
Add a HDR option in Blender
[libs/gl.git] / blender / io_mspgl / scene.py
index 53d338cb88b05ec625e6f5b044ae99d59df19019..dac43485ae1dec825f1900fa172c0958550db833 100644 (file)
@@ -24,6 +24,10 @@ class Scene:
                self.instances = []
                self.lights = []
 
+               self.use_hdr = False
+               if scene.world:
+                       self.use_hdr = scene.world.use_hdr
+
                objects = scene.objects[:]
                objects.sort(key=lambda o:o.name)
                if obj_filter: