chiark / gitweb /
Fix the "object turns black" bug.
authordaid303 <daid303@gmail.com>
Mon, 8 Apr 2013 09:13:06 +0000 (11:13 +0200)
committerdaid303 <daid303@gmail.com>
Mon, 8 Apr 2013 09:13:06 +0000 (11:13 +0200)
Cura/gui/preview3d.py

index 23aa02a2e7bc65035450e9364443a79d16fcaf9e..7f3311154f7ab1e45df6b5fac51e3ff47beddb48 100644 (file)
@@ -230,6 +230,7 @@ class previewPanel(wx.Panel):
                z = numpy.linalg.norm(self.matrix[::,2].getA().flatten())
                self.matrix = numpy.matrix([[x,0,0],[0,y,0],[0,0,z]], numpy.float64)
                for obj in self.objectList:
+                       obj.dirty = True
                        obj.steepDirty = True
                self.updateModelTransform()