WIP second slider LayerView

This commit is contained in:
Jack Ha 2017-01-02 09:20:27 +01:00
parent e3d77de6df
commit 73a8859b0e
4 changed files with 51 additions and 1 deletions

View file

@ -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.