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:
authorfieldOfView <aldo@fieldofview.com>2017-09-12 16:06:06 +0300
committerfieldOfView <aldo@fieldofview.com>2017-09-12 16:06:06 +0300
commit4c9028b3d0d16b3fb6e1e7e4c68f2d180010f971 (patch)
treefff611c1e0a2fa5fc205f83c9da21b324e320730 /cura/BuildVolume.py
parentec6fa19d4efd9eb5afda5785298532f1358f623f (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-xcura/BuildVolume.py1
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)