mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Set the default number of layers and current layer to 0. Now the layer view slider is empty while the initial slicing process is running.
Fixes CURA-1273 Layer number doesn't fit
This commit is contained in:
parent
a176c6a977
commit
c810c22eb5
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ class LayerView(View):
|
|||
self._layer_percentage = 0 # what percentage of layers need to be shown (SLider gives value between 0 - 100)
|
||||
self._proxy = LayerViewProxy.LayerViewProxy()
|
||||
self._controller.getScene().getRoot().childrenChanged.connect(self._onSceneChanged)
|
||||
self._max_layers = 10
|
||||
self._current_layer_num = 10
|
||||
self._max_layers = 0
|
||||
self._current_layer_num = 0
|
||||
self._current_layer_mesh = None
|
||||
self._current_layer_jumps = None
|
||||
self._top_layers_job = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue