]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/scene.py
Store prototype reference instead of just name in scene instances
[libs/gl.git] / blender / io_mspgl / scene.py
index 8f4f285b195d3af543b1a2b64c9ef592a626b6d3..03e239e6a77dce8dcb601e59230512d73e9c6a1f 100644 (file)
@@ -13,7 +13,7 @@ class Instance:
                self.name = obj.name
                self.matrix_world = obj.matrix_world
                self.rotation_mode = obj.rotation_mode
-               self.prototype = prototype.name
+               self.prototype = prototype
 
 class Scene:
        def __init__(self, scene, obj_filter=None):