diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2019-11-11 11:08:13 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2019-11-11 11:08:13 +0300 |
commit | 534b432e7e773bc8462fad3304bc782c0ed9717f (patch) | |
tree | 093a296dd256ac163f92966e5a242e35efb76b90 /plugins/SimulationView | |
parent | 7495d7900f102c38945413112ce89f9cec24ace7 (diff) |
Fix another is None check for typing
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r-- | plugins/SimulationView/SimulationView.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |