Commit 7a73a90
authored
Stop single-layer mode from showing the layer below (#482)
startLayer is inclusive: the bottom clipping plane sits at the bottom of
layer startLayer. Collapsing the range to endLayer - 1 therefore left two
layers visible. Collapse it onto endLayer itself, in both the endLayer
setter and the singleLayerMode setter.
Fixes #4501 parent 4f75882 commit 7a73a90
2 files changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
778 | 789 | | |
779 | 790 | | |
780 | 791 | | |
| |||
825 | 836 | | |
826 | 837 | | |
827 | 838 | | |
828 | | - | |
| 839 | + | |
829 | 840 | | |
830 | 841 | | |
831 | 842 | | |
832 | 843 | | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
833 | 848 | | |
834 | 849 | | |
835 | 850 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
0 commit comments