Skip to content

Fix face bywire bug#94

Closed
kaikokivi wants to merge 2 commits into
wassimj:mainfrom
kaikokivi:fix-face-bywire-bug
Closed

Fix face bywire bug#94
kaikokivi wants to merge 2 commits into
wassimj:mainfrom
kaikokivi:fix-face-bywire-bug

Conversation

@kaikokivi
Copy link
Copy Markdown
Contributor

The first commit is a typo fix for a logical bug. Input validation lets the invalid wire pass for the IsClosed and valid wire is never tested for IsClosed, it produces a crash. What was probably intended is that it should pass both tests to not to fall into this invalidation statement.

The second commit on the other hand lets the non-closed wire pass to be collected as a wire to be later imprinted on the face. It is a case that perhaps needs addressing although maybe there is another interpretation. I needed in for a JSON serialised topology to come trough. as stored.

@wassimj
Copy link
Copy Markdown
Owner

wassimj commented May 15, 2026

This PR did not pass the unit tests.

Copy link
Copy Markdown
Owner

@wassimj wassimj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This was a logic typo.

@kaikokivi kaikokivi closed this May 17, 2026
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.

2 participants