diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 8 |
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; } |