diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-08-27 14:06:33 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-08-27 14:06:33 +0300 |
commit | 511eba28b69e60f9085848bd5396001661d76aa9 (patch) | |
tree | ab8ee8b2c2950fdb5d2d34ef93b6815c77edfa76 /plugins/SimulationView | |
parent | 9c2f8a94d54c63499fa382c78b5a3162a9089810 (diff) |
Ensure that min/max feedrate & thickness gets defined in init
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r-- | plugins/SimulationView/SimulationView.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/SimulationView/SimulationView.py b/plugins/SimulationView/SimulationView.py index 33f713ced0..edc4e7dcf0 100644 --- a/plugins/SimulationView/SimulationView.py +++ b/plugins/SimulationView/SimulationView.py @@ -83,6 +83,11 @@ class SimulationView(CuraView): self._simulationview_composite_shader = None # type: Optional["ShaderProgram"] self._old_composite_shader = None # type: Optional["ShaderProgram"] + self._max_feedrate = sys.float_info.min + self._min_feedrate = sys.float_info.max + self._max_thickness = sys.float_info.min + self._min_thickness = sys.float_info.max + self._global_container_stack = None # type: Optional[ContainerStack] self._proxy = None self._controller.getScene().getRoot().childrenChanged.connect(self._onSceneChanged) |