chiark / gitweb /
Copy the rotation/scaling when making a split object.
authordaid303 <daid303@gmail.com>
Thu, 25 Apr 2013 14:28:16 +0000 (16:28 +0200)
committerdaid303 <daid303@gmail.com>
Thu, 25 Apr 2013 14:28:16 +0000 (16:28 +0200)
Cura/util/mesh.py

index 919e202a01430121ddcee3f139bb4c030e173152..11e1431dd17e1a4aada7ebf5330848094300973f 100644 (file)
@@ -198,6 +198,7 @@ class printableObject(object):
                        for m in oriMesh.split(callback):
                                obj = printableObject()
                                obj._meshList.append(m)
+                               obj._matrix = self._matrix.copy()
                                obj._postProcessAfterLoad()
                                ret.append(obj)
                return ret