mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Wfter changing the view the old view is removed from rendering
CURA-4062
This commit is contained in:
parent
7404df66ac
commit
0f807cd03e
2 changed files with 2 additions and 0 deletions
|
@ -74,5 +74,6 @@ class XRayView(View):
|
|||
self._composite_pass.setCompositeShader(self._xray_composite_shader)
|
||||
|
||||
if event.type == Event.ViewDeactivateEvent:
|
||||
self.getRenderer().removeRenderPass(self._xray_pass)
|
||||
self._composite_pass.setLayerBindings(self._old_layer_bindings)
|
||||
self._composite_pass.setCompositeShader(self._old_composite_shader)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue