mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
WIP second slider LayerView
This commit is contained in:
parent
e3d77de6df
commit
73a8859b0e
4 changed files with 51 additions and 1 deletions
|
@ -81,6 +81,8 @@ class LayerPass(RenderPass):
|
|||
for layer, counts in element_counts.items():
|
||||
if layer > self._layer_view._current_layer_num:
|
||||
break
|
||||
if self._layer_view._minimum_layer_num > layer:
|
||||
start += counts
|
||||
end += counts
|
||||
|
||||
# This uses glDrawRangeElements internally to only draw a certain range of lines.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue