mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix is None check for typing
This commit is contained in:
parent
896b73f8b3
commit
7495d7900f
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class SimulationView(CuraView):
|
|||
# Make sure the SimulationPass is created
|
||||
layer_pass = self.getSimulationPass()
|
||||
renderer = self.getRenderer()
|
||||
if renderer is not None:
|
||||
if renderer is None:
|
||||
return False
|
||||
|
||||
renderer.addRenderPass(layer_pass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue