Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-08-23 13:48:19 +0300
committerJaime van Kessel <nallath@gmail.com>2017-08-23 13:48:19 +0300
commit904682945a49d1ce46138debb7d40ba07122fa25 (patch)
treedc1b2ad359d7e42daf56c06aaec9518ed832a48c /cura/BuildVolume.py
parentca1f7430c191010d1b085367097f3098e2962d43 (diff)
Decreased the value of the u_z_bias, so the plate quad is drawn again.
CURA-4150
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index 7514f15c14..bc5398cb1c 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -174,7 +174,7 @@ class BuildVolume(SceneNode):
self._plate_shader = OpenGL.getInstance().createShaderProgram(Resources.getPath(Resources.Shaders, "color.shader"))
theme = Application.getInstance().getTheme()
self._plate_shader.setUniformValue("u_color", Color(*theme.getColor("buildplate").getRgb()))
- self._plate_shader.setUniformValue("u_z_bias", 0.01)
+ self._plate_shader.setUniformValue("u_z_bias", 0.000001)
renderer.queueNode(self, mode = RenderBatch.RenderMode.Lines)
renderer.queueNode(self, mesh = self._origin_mesh)