Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-06-22 18:32:30 +0300
committerJaime van Kessel <nallath@gmail.com>2020-06-22 18:32:30 +0300
commitac7f27fddc2a81dbb66ea47bf4f9ba58d3c5dedb (patch)
treeff2fa3e93d942df2b7d21b57831595d5c8fc646e /plugins/SolidView
parent333b2959cd8c43bd580226bb5dfe0fb17587cf93 (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.py2
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