Skip to content

Initialize iterator index to 0. - #71

Merged
player-03 merged 1 commit into
openfl:masterfrom
player-03:Asset3DLibraryIterator_idx
Jul 27, 2026
Merged

Initialize iterator index to 0.#71
player-03 merged 1 commit into
openfl:masterfrom
player-03:Asset3DLibraryIterator_idx

Conversation

@player-03

Copy link
Copy Markdown
Collaborator

Without this, in JavaScript next() will return null the first time, because _filtered[null] == null. This typically indicates that iteration should stop, so it doesn't even matter that subsequent values are returned correctly.

Without this, in JavaScript `next()` will return null the first time, because `_filtered[null] == null`. This typically indicates that iteration should stop, so it doesn't even matter that subsequent values are returned correctly.
@player-03
player-03 merged commit c93eecf into openfl:master Jul 27, 2026
7 checks passed
@player-03
player-03 deleted the Asset3DLibraryIterator_idx branch July 27, 2026 16:36
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.

1 participant