[Bf-blender-cvs] [fe68b54edbe] master: Cleanup: `else` after `continue`.
Bastien Montagne
noreply at git.blender.org
Tue Oct 26 10:29:13 CEST 2021
Commit: fe68b54edbeb1cb567aa4c20783a9579ab191863
Author: Bastien Montagne
Date: Tue Oct 26 10:28:52 2021 +0200
Branches: master
https://developer.blender.org/rBfe68b54edbeb1cb567aa4c20783a9579ab191863
Cleanup: `else` after `continue`.
===================================================================
M source/blender/blenkernel/intern/object.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list