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:
db0b128
)
Fix the outline when the scale is no 1.0
author
daid
<daid303@gmail.com>
Thu, 2 Aug 2012 09:17:25 +0000
(11:17 +0200)
committer
daid
<daid303@gmail.com>
Thu, 2 Aug 2012 09:17:25 +0000
(11:17 +0200)
Cura/gui/preview3d.py
patch
|
blob
|
history
diff --git
a/Cura/gui/preview3d.py
b/Cura/gui/preview3d.py
index 26ebe04a886162be581bb39af78949e5b636310d..5ff77233cd9ec7628c334a91c112a3b1f23d97d8 100644
(file)
--- a/
Cura/gui/preview3d.py
+++ b/
Cura/gui/preview3d.py
@@
-613,7
+613,11
@@
class PreviewGLCanvas(glcanvas.GLCanvas):
glEnable(GL_DEPTH_TEST)
\r
glDisable(GL_LIGHTING)
\r
glColor3f(1,1,1)
\r
+ glPushMatrix()
\r
+ modelScale = profile.getProfileSettingFloat('model_scale')
\r
+ glScalef(modelScale, modelScale, modelScale)
\r
opengl.DrawMeshOutline(obj.mesh)
\r
+ glPopMatrix()
\r
\r
glPopMatrix()
\r
if self.viewMode == "Normal" or self.viewMode == "Transparent" or self.viewMode == "X-Ray":
\r