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:
authorHans Goudey <h.goudey@me.com>2021-11-20 07:48:51 +0300
committerHans Goudey <h.goudey@me.com>2021-11-20 07:48:51 +0300
commit3baaab15fc9983b2efd4f67da98faa15c742074e (patch)
treef7bad773e9cf6b1c129ffe5625ded82ce76497f7 /source/blender/editors/armature
parent411261fb32760730ce4aa80bea6b8c2151ea3989 (diff)
Cleanup: Else after return
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/armature_relations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c
index cac6e9965b6..b06e4b6a9e7 100644
--- a/source/blender/editors/armature/armature_relations.c
+++ b/source/blender/editors/armature/armature_relations.c
@@ -929,7 +929,7 @@ static int armature_parent_set_invoke(bContext *C,
enable_connect = true;
break;
}
- else if (!(ebone->flag & BONE_CONNECTED)) {
+ if (!(ebone->flag & BONE_CONNECTED)) {
enable_connect = true;
}
}