X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fscene.py;h=3c98cbee1c776e340ea180e1128c60dc0a3e6565;hp=cb62a1b0d40401996427a15b1da11e230783c017;hb=4291fcf9489087492085b70e7960bdb3dbb5dc9c;hpb=85d86a0d7cddce83578629e5817b6e1b50061540 diff --git a/blender/io_mspgl/scene.py b/blender/io_mspgl/scene.py index cb62a1b0..3c98cbee 100644 --- a/blender/io_mspgl/scene.py +++ b/blender/io_mspgl/scene.py @@ -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)