mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Fix is None check for typing
This commit is contained in:
parent
896b73f8b3
commit
7495d7900f
@ -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…
x
Reference in New Issue
Block a user