Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-04-12 16:02:01 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-04-12 16:02:33 +0300
commitee9688da997fc6e7d7aece39d5da23c99618dc21 (patch)
tree9df57a9b846636beef54902d9a07a745211673b0 /source
parentd1944dee86e21b92360be526f129b48600ca0154 (diff)
Cleanup: redundant logical not
Overlooked at rB0ebcc711f. The logical not in this case was only applied to the left hand side of the comparison.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/camera.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/camera.c b/source/blender/blenkernel/intern/camera.c
index 3897df9f05f..32925168437 100644
--- a/source/blender/blenkernel/intern/camera.c
+++ b/source/blender/blenkernel/intern/camera.c
@@ -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;
}