mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Fix another is None check for typing
This commit is contained in:
parent
7495d7900f
commit
534b432e7e
@ -533,7 +533,7 @@ class SimulationView(CuraView):
|
||||
self._nozzle_node.setParent(None)
|
||||
|
||||
renderer = self.getRenderer()
|
||||
if renderer is not None:
|
||||
if renderer is None:
|
||||
return False
|
||||
|
||||
if self._layer_pass is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user