Skip to content

Improved dlg state parent search logic#46

Merged
Argent77 merged 1 commit into
Argent77:develfrom
podcherklife:improve-dlg-state-parent-search
May 23, 2026
Merged

Improved dlg state parent search logic#46
Argent77 merged 1 commit into
Argent77:develfrom
podcherklife:improve-dlg-state-parent-search

Conversation

@podcherklife
Copy link
Copy Markdown

I do not recall exactly why I made this change initially, but apparently it fixes NearInfinityBrowser#148 - and logic is sound: instead of stopping on first "duplicate" upstream state we now keep going until all edges are traversed

Not longer stop on visiting already collected state twice - instead
keep going until queue is drained
@Argent77 Argent77 merged commit aec652e into Argent77:devel May 23, 2026
@Argent77
Copy link
Copy Markdown
Owner

Seems to fix most of the cases I could find. Thanks.

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.

Dialog tree view: States are erroneously marked as orphaned

2 participants