CURA-4526 Stop simulation when changing preferences.

Hide nozzle node when in compatibility mode.
This commit is contained in:
Diego Prado Gesto 2017-11-21 13:23:47 +01:00
parent 2df06bbbb9
commit abe9ba3795
2 changed files with 2 additions and 1 deletions

View file

@ -171,7 +171,7 @@ class SimulationPass(RenderPass):
batch.render(self._scene.getActiveCamera())
# The nozzle is drawn once we know the correct position
if self._layer_view.getActivity() and nozzle_node is not None:
if not self._compatibility_mode and self._layer_view.getActivity() and nozzle_node is not None:
if head_position is not None:
nozzle_node.setVisible(True)
nozzle_node.setPosition(head_position)