mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
The view class were not added after to the rendering list after changing them
CURA-4062
This commit is contained in:
parent
0f807cd03e
commit
d2873dc65a
2 changed files with 5 additions and 2 deletions
|
@ -56,6 +56,8 @@ class XRayView(View):
|
|||
# Currently the RenderPass constructor requires a size > 0
|
||||
# This should be fixed in RenderPass's constructor.
|
||||
self._xray_pass = XRayPass.XRayPass(1, 1)
|
||||
|
||||
if self._xray_pass:
|
||||
self.getRenderer().addRenderPass(self._xray_pass)
|
||||
|
||||
if not self._xray_composite_shader:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue