From ac7f27fddc2a81dbb66ea47bf4f9ba58d3c5dedb Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 22 Jun 2020 17:32:30 +0200 Subject: [PATCH] Remove another unneded call in the solidview The check is called a lot, especially if there are a ton of models. CURA-7106 --- plugins/SolidView/SolidView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index 3ae26a5aaf..fd5a2c7dc8 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -189,7 +189,7 @@ class SolidView(View): for node in DepthFirstIterator(scene.getRoot()): if not node.render(renderer): - if node.getMeshData() and node.isVisible() and not node.callDecoration("getLayerData"): + if node.getMeshData() and node.isVisible(): uniforms = {} shade_factor = 1.0