diff options
author | Aleksei S <a.sasin@ultimaker.com> | 2017-10-25 12:06:12 +0300 |
---|---|---|
committer | Aleksei S <a.sasin@ultimaker.com> | 2017-10-25 12:06:12 +0300 |
commit | d2873dc65a7e553555e44b5faf6c781d6a04eaaa (patch) | |
tree | adda7e8338ae68999b3e43bf7ccf63de5bf10857 /plugins/XRayView | |
parent | 0f807cd03e377118e671c4e8e5ab57f7c11f5fbb (diff) |
The view class were not added after to the rendering list after changing them
CURA-4062
Diffstat (limited to 'plugins/XRayView')
-rw-r--r-- | plugins/XRayView/XRayView.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/XRayView/XRayView.py b/plugins/XRayView/XRayView.py index e7715209d0..2983772647 100644 --- a/plugins/XRayView/XRayView.py +++ b/plugins/XRayView/XRayView.py @@ -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: |