Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(primitives): fix polygon gizmo rendering bug (bevyengine#11699)
This is just a minor fix extracted from bevyengine#11697 A logic error. We tried to close the polygon shape, if the user specifies an unclosed polygon. The closing linestring previously didn't close the polygon though, but instead added a zero length line at the last coordinate. Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
- Loading branch information