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:
20f4051
)
Fix the overhang display angle.
author
daid
<daid303@gmail.com>
Tue, 11 Jun 2013 13:51:48 +0000
(15:51 +0200)
committer
daid
<daid303@gmail.com>
Tue, 11 Jun 2013 13:51:48 +0000
(15:51 +0200)
Cura/gui/sceneView.py
patch
|
blob
|
history
diff --git
a/Cura/gui/sceneView.py
b/Cura/gui/sceneView.py
index 49c0ddd711be989131a92e8e6fa12c5c98dc206b..151ee77caa8bd5b05ca123c7dd11727f1f7d14e0 100644
(file)
--- a/
Cura/gui/sceneView.py
+++ b/
Cura/gui/sceneView.py
@@
-901,7
+901,7
@@
void main(void)
if self.viewMode == 'overhang':
self._objectOverhangShader.bind()
- self._objectOverhangShader.setUniform('cosAngle', math.cos(math.radians(60)))
+ self._objectOverhangShader.setUniform('cosAngle', math.cos(math.radians(
90 -
60)))
else:
self._objectShader.bind()
for obj in self._scene.objects():