mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
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:
parent
333b2959cd
commit
ac7f27fddc
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user