Skip to content
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

Remove unnecessary if on Curve2D/3D::_calculate_tangent #70249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndreSacilotto
Copy link

I was looking at the issue #70047, but look likes it already had a fix. But for some reason there is two if with same return one after another, c++ uses short circuit evaluation so it's unnecessary, so both conditionals can me merged in a single one.

@Chaosus Chaosus added this to the 4.0 milestone Dec 18, 2022
@YuriSizov YuriSizov requested a review from a team February 10, 2023 16:26
@YuriSizov YuriSizov modified the milestones: 4.0, 4.1 Feb 10, 2023
@YuriSizov YuriSizov modified the milestones: 4.1, 4.2 Jun 14, 2023
@AThousandShips AThousandShips modified the milestones: 4.2, 4.3 Oct 26, 2023
@AThousandShips AThousandShips modified the milestones: 4.3, 4.4 Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants