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
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-09-07 15:26:10 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-09-07 15:26:10 +0300
commit5ccdc6ad8611bdefb19e9c1085e20e21892311bc (patch)
tree93cd9c7588d4ca6aed84f19adacdd2c3367e3050 /source/blender
parent6b91c641e81ec2256b63e3dc8c0fe9d4e5dcf411 (diff)
Cleanup: Fix clang-tidy warning in the new boolean code
No functional changes.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/mesh_boolean.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index 3b128aba102..e92751efe72 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -2375,9 +2375,8 @@ static bool point_is_inside_shape(const IMesh &tm,
if (high_confidence) {
return (gwn > 0.9);
}
- else {
- return (gwn > 0.01);
- }
+
+ return (gwn > 0.01);
}
/**