hubs icon indicating copy to clipboard operation
hubs copied to clipboard

BG - `For Loop` node doesn't output `endIndex` value

Open j-conrad opened this issue 1 year ago • 0 comments

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:

  1. Open attached .blend file
  2. Note the For Loop start/end indices
  3. Run in Hubs
  4. Click the hexagon on the floor with console debug open
  5. 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: image

Result: image

Hardware

  • Device:Desktop
  • OS: Windows
  • Browser: Chrome

LoopBug.zip

j-conrad avatar Jan 16 '24 21:01 j-conrad