mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
CURA-4526 Add transparency to the nozzle so the user can see the lines
and layers through the nozzle.
This commit is contained in:
parent
f216e2df24
commit
d415c5fcbb
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue