Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BG - For Loop node doesn't output endIndex value #6439

Open
j-conrad opened this issue Jan 16, 2024 · 0 comments
Open

BG - For Loop node doesn't output endIndex value #6439

j-conrad opened this issue Jan 16, 2024 · 0 comments
Labels
Behavior Graphs bug P0 Needs immediate attention

Comments

@j-conrad
Copy link
Contributor

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 j-conrad added bug P0 Needs immediate attention Behavior Graphs labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Behavior Graphs bug P0 Needs immediate attention
Projects
None yet
Development

No branches or pull requests

1 participant