Cleanup: redundant logical not

Overlooked at rB0ebcc711f.

The logical not in this case was only applied to the left hand side of
the comparison.
This commit is contained in:
Germano Cavalcante 2022-04-12 10:02:01 -03:00
parent d1944dee86
commit ee9688da99
1 changed files with 6 additions and 6 deletions

View File

@ -698,12 +698,12 @@ static bool camera_frame_fit_calc_from_data(CameraParams *params,
add_v3_v3v3(plane_isect_1_other, plane_isect_1, plane_isect_1_no);
add_v3_v3v3(plane_isect_2_other, plane_isect_2, plane_isect_2_no);
if (!isect_line_line_v3(plane_isect_1,
plane_isect_1_other,
plane_isect_2,
plane_isect_2_other,
plane_isect_pt_1,
plane_isect_pt_2) != 0) {
if (isect_line_line_v3(plane_isect_1,
plane_isect_1_other,
plane_isect_2,
plane_isect_2_other,
plane_isect_pt_1,
plane_isect_pt_2) == 0) {
return false;
}