hubs
hubs copied to clipboard
BG - `For Loop` node doesn't output `endIndex` value
Description
The For Loop
node outputs the index
value each loop. However, the endIndex
value never outputs.
I'm guessing this was an oversight with the default startIndex
being zero.
To Reproduce Steps to reproduce the behavior:
- Open attached
.blend
file - Note the
For Loop
start/end indices - Run in Hubs
- Click the hexagon on the floor with console debug open
- Output ends at 9, despite
endIndex
being 10.
Expected behavior
The index
output should start at the startIndex
value and end with the endIndex
value.
So, for example, setting them to 1 and 10, respectively should output:
1
2
3
4
5
6
7
8
9
10
Screenshots
Graph:
Result:
Hardware
- Device:Desktop
- OS: Windows
- Browser: Chrome