From de7c9f41e613a704f8e3258050b952d2ada60083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 3 Jul 2020 15:42:22 +0200 Subject: Cleanup: Editors/Object, Clang-Tidy else-after-return fixes This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/object` module. No functional changes. --- source/blender/editors/object/object_remesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/object/object_remesh.c') diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index 84ad17db971..8981851394d 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -1042,7 +1042,7 @@ static bool quadriflow_poll_property(const bContext *C, wmOperator *op, const Pr if (STREQ(prop_id, "target_edge_length") && mode != QUADRIFLOW_REMESH_EDGE_LENGTH) { return false; } - else if (STREQ(prop_id, "target_faces")) { + if (STREQ(prop_id, "target_faces")) { if (mode != QUADRIFLOW_REMESH_FACES) { /* Make sure we can edit the target_faces value even if it doesn't start as EDITABLE */ float area = RNA_float_get(op->ptr, "mesh_area"); -- cgit v1.2.3