Skip to content

Fix misaligned index in front2back draw loop - #1372

Merged
yuxiaomao merged 2 commits into
HeapsIO:masterfrom
inert-aesthetic:master
Oct 1, 2026
Merged

yuxiaomao merged 2 commits into
HeapsIO:masterfrom
inert-aesthetic:master

Conversation

@inert-aesthetic

Copy link
Copy Markdown
Contributor

Fixes #1371

@yuxiaomao

Copy link
Copy Markdown
Contributor

Change var i = children.length - 1; seems an easier fix; otherwise the else path i = top - 1 needs to be adjusted too ?

@inert-aesthetic

Copy link
Copy Markdown
Contributor Author

Change var i = children.length - 1; seems an easier fix; otherwise the else path i = top - 1 needs to be adjusted too ?

You are right, I have changed it to that. Thank you!

@yuxiaomao
yuxiaomao merged commit 82a5f3c into HeapsIO:master Oct 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting RenderContext.front2back=true causes out of bounds array access

2 participants