diff options
author | fieldOfView <aldo@fieldofview.com> | 2017-09-12 16:06:06 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2017-09-12 16:06:06 +0300 |
commit | 4c9028b3d0d16b3fb6e1e7e4c68f2d180010f971 (patch) | |
tree | fff611c1e0a2fa5fc205f83c9da21b324e320730 /cura/BuildVolume.py | |
parent | ec6fa19d4efd9eb5afda5785298532f1358f623f (diff) |
Remove z-fighting kludge
This was actually introducing z-fighting artefacts with the new shader and no added geometry.
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-x | cura/BuildVolume.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 9b6647fe43..62a8b8be4d 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -181,7 +181,6 @@ class BuildVolume(SceneNode): self._grid_shader.setUniformValue("u_plateColor", Color(*theme.getColor("buildplate").getRgb())) self._grid_shader.setUniformValue("u_gridColor0", Color(*theme.getColor("buildplate_grid").getRgb())) self._grid_shader.setUniformValue("u_gridColor1", Color(*theme.getColor("buildplate_grid_minor").getRgb())) - self._grid_shader.setUniformValue("u_z_bias", 0.000001) renderer.queueNode(self, mode = RenderBatch.RenderMode.Lines) renderer.queueNode(self, mesh = self._origin_mesh) |