Skip to content

Tetgen: fix bug when faces don't have markers#2069

Merged
alecjacobson merged 1 commit intomainfrom
alecjacobson/tetgenio-bug-fix
Aug 15, 2022
Merged

Tetgen: fix bug when faces don't have markers#2069
alecjacobson merged 1 commit intomainfrom
alecjacobson/tetgenio-bug-fix

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

I'm not sure why this if was here in the first place. This function doesn't extract markers. (seems either qnzhou or daneielpanozzo wrote the original line). Before this fix, if the face list existed but markers did not, then it would crash. Now, it ignores the possibility of markers and extracts existing faces.

(Properly extracting markers is left for a future PR).

@alecjacobson alecjacobson merged commit 3ea7f94 into main Aug 15, 2022
@alecjacobson alecjacobson deleted the alecjacobson/tetgenio-bug-fix branch August 15, 2022 13:05
@qnzhou
Copy link
Copy Markdown
Collaborator

qnzhou commented Aug 15, 2022

Looks good to me. I have no clue about the reason for if.

@alecjacobson alecjacobson restored the alecjacobson/tetgenio-bug-fix branch October 23, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants