From d415c5fcbb1ee90cc7c9d32dd2eef7c128c47e88 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 21 Nov 2017 13:42:46 +0100 Subject: [PATCH] CURA-4526 Add transparency to the nozzle so the user can see the lines and layers through the nozzle. --- plugins/SimulationView/SimulationPass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SimulationView/SimulationPass.py b/plugins/SimulationView/SimulationPass.py index e3b840fc87..2b9063e27a 100644 --- a/plugins/SimulationView/SimulationPass.py +++ b/plugins/SimulationView/SimulationPass.py @@ -175,7 +175,7 @@ class SimulationPass(RenderPass): if head_position is not None: nozzle_node.setVisible(True) nozzle_node.setPosition(head_position) - nozzle_batch = RenderBatch(self._nozzle_shader, type = RenderBatch.RenderType.Solid) + nozzle_batch = RenderBatch(self._nozzle_shader, type = RenderBatch.RenderType.Transparent) nozzle_batch.addItem(nozzle_node.getWorldTransformation(), mesh = nozzle_node.getMeshData()) nozzle_batch.render(self._scene.getActiveCamera())