mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
CURA-4605 Fix render issues when there are empty layers.
Fix layer gap when raft is enabled.
This commit is contained in:
parent
1b76d08f01
commit
2c6b2b869e
2 changed files with 9 additions and 9 deletions
|
@ -376,7 +376,7 @@ class SimulationView(View):
|
|||
if layer is None:
|
||||
return
|
||||
new_max_paths = layer.lineMeshElementCount()
|
||||
if new_max_paths > 0 and new_max_paths != self._max_paths:
|
||||
if new_max_paths >= 0 and new_max_paths != self._max_paths:
|
||||
self._max_paths = new_max_paths
|
||||
self.maxPathsChanged.emit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue