]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/scene.py
Make it possible to export instance arrays from Blender
[libs/gl.git] / blender / io_mspgl / scene.py
index cb62a1b0d40401996427a15b1da11e230783c017..3c98cbee1c776e340ea180e1128c60dc0a3e6565 100644 (file)
@@ -104,6 +104,8 @@ class Scene:
                                instance_list = self.blended_instances
                        if mat.image_based_lighting:
                                self.use_ibl = True
+                       if mat.instancing:
+                               prototype.use_array = True
 
                instance = ObjectInstance(obj, prototype)
                instance_list.append(instance)