From 534b432e7e773bc8462fad3304bc782c0ed9717f Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 11 Nov 2019 09:08:13 +0100 Subject: Fix another is None check for typing --- plugins/SimulationView/SimulationView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SimulationView') diff --git a/plugins/SimulationView/SimulationView.py b/plugins/SimulationView/SimulationView.py index 8318a68575..6d6f19c57c 100644 --- a/plugins/SimulationView/SimulationView.py +++ b/plugins/SimulationView/SimulationView.py @@ -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: -- cgit v1.2.3