chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab8de65
)
Fix the "object turns black" bug.
author
daid303
<daid303@gmail.com>
Mon, 8 Apr 2013 09:13:06 +0000
(11:13 +0200)
committer
daid303
<daid303@gmail.com>
Mon, 8 Apr 2013 09:13:06 +0000
(11:13 +0200)
Cura/gui/preview3d.py
patch
|
blob
|
history
diff --git
a/Cura/gui/preview3d.py
b/Cura/gui/preview3d.py
index 23aa02a2e7bc65035450e9364443a79d16fcaf9e..7f3311154f7ab1e45df6b5fac51e3ff47beddb48 100644
(file)
--- a/
Cura/gui/preview3d.py
+++ b/
Cura/gui/preview3d.py
@@
-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()