Skip to content

fix overwrite polyface mesh Vertex flags#97

Open
ickk wants to merge 1 commit intoixmilia:mainfrom
ickk:fix-96
Open

fix overwrite polyface mesh Vertex flags#97
ickk wants to merge 1 commit intoixmilia:mainfrom
ickk:fix-96

Conversation

@ickk
Copy link

@ickk ickk commented Apr 11, 2025

fixes #96

When creating a polyface mesh the reference says that positions are given by a Vertex with both the 128 & 64 flag bit set, while face-indices are given by a Vertex with just the 128 bit set. The 16 bit is never set for polyface mesh vertices.

When adding vertex pairs to a polyface mesh polyline the 64 bit was unconditionally getting unset based on the 16 bit. This patch fixes the issue by also considering the current value of the 64 bit.

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.

Polyface Mesh vertex flags are not set correctly

1 participant