Remove another unneded call in the solidview

The check is called a lot, especially if there are a ton of models.

CURA-7106
This commit is contained in:
Jaime van Kessel 2020-06-22 17:32:30 +02:00
parent 333b2959cd
commit ac7f27fddc
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -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