-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Curve3D::get_closest_point()
broken
#69239
Conversation
@xiongyaohua Please write a summary of the fixed part in the commit comment, not a reference to the issue id. |
429a336
to
49a1d38
Compare
done |
dc36389
to
6b93e96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xiongyaohua As mentioned the commit title is preferred to be just a summary, I think the "Fix #69220" part is not desired in there. Feel free to leave it in the commit message but not in the title (the first line).
Besides that the code/changes LGTM.
6b93e96
to
03c444c
Compare
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem. The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true. The out dated document for `get_closest_point()` is also updated.
03c444c
to
69f8456
Compare
Thanks! |
Fix #69220
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem. The code for
get_closest_point()
andget_closest_offset()
are also updated. They used to assume bake interval to be exact, which is no longer true.The out dated document for
get_closest_point()
is also updated.Fix #69507 as a by product, which is caused by a typo. (
size_t
instead ofreal_t
)All fixes have been applied to the Curve2D counterpart #69115.