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:
authorBastien Montagne <bastien@blender.org>2021-10-26 11:28:52 +0300
committerBastien Montagne <bastien@blender.org>2021-10-26 11:28:52 +0300
commitfe68b54edbeb1cb567aa4c20783a9579ab191863 (patch)
tree454f71da1a1a5fe52b2963324758b9b733ecd15b /source/blender/blenkernel/intern/object.c
parent9ba22bd1f77a4b168ce19e941fe84837fc69f701 (diff)
Cleanup: `else` after `continue`.
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 7103f0a4db6..80150e79eb3 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1162,11 +1162,9 @@ static void object_lib_override_apply_post(ID *id_dst, ID *id_src)
if (pid_src == NULL) {
continue;
}
- else if (pid_dst->type != pid_src->type || pid_dst->file_type != pid_src->file_type ||
- pid_dst->default_step != pid_src->default_step ||
- pid_dst->max_step != pid_src->max_step ||
- pid_dst->data_types != pid_src->data_types ||
- pid_dst->info_types != pid_src->info_types) {
+ if (pid_dst->type != pid_src->type || pid_dst->file_type != pid_src->file_type ||
+ pid_dst->default_step != pid_src->default_step || pid_dst->max_step != pid_src->max_step ||
+ pid_dst->data_types != pid_src->data_types || pid_dst->info_types != pid_src->info_types) {
LISTBASE_FOREACH (PointCache *, point_cache_src, pid_src->ptcaches) {
point_cache_src->flag |= PTCACHE_FLAG_INFO_DIRTY;
}