diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-08-23 13:48:19 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-08-23 13:48:19 +0300 |
commit | 904682945a49d1ce46138debb7d40ba07122fa25 (patch) | |
tree | dc1b2ad359d7e42daf56c06aaec9518ed832a48c /cura/BuildVolume.py | |
parent | ca1f7430c191010d1b085367097f3098e2962d43 (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-x | cura/BuildVolume.py | 2 |
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) |