diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-06-22 18:32:30 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-06-22 18:32:30 +0300 |
commit | ac7f27fddc2a81dbb66ea47bf4f9ba58d3c5dedb (patch) | |
tree | ff2fa3e93d942df2b7d21b57831595d5c8fc646e /plugins/SolidView | |
parent | 333b2959cd8c43bd580226bb5dfe0fb17587cf93 (diff) |
Remove another unneded call in the solidview
The check is called a lot, especially if there are a ton of models.
CURA-7106
Diffstat (limited to 'plugins/SolidView')
-rw-r--r-- | plugins/SolidView/SolidView.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |