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:
authorBrecht Van Lommel <brecht@blender.org>2020-05-20 17:20:22 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-05-22 23:57:58 +0300
commitece8ecb4ddd2a12791b18aaf73ce8faa3dae7754 (patch)
treedc1ec52f162e002e225395c62760bdadd070713e
parente8209c36e61dda0b1f2a84c9d2567892c3de6a66 (diff)
Cleanup: remove unnecessary NULL test
-rw-r--r--source/blender/blenkernel/intern/DerivedMesh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index b3893d8600f..52fe51afcb2 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -1798,9 +1798,7 @@ static void mesh_build_data(struct Depsgraph *depsgraph,
}
}
- if (mesh_eval != NULL) {
- mesh_runtime_check_normals_valid(mesh_eval);
- }
+ mesh_runtime_check_normals_valid(mesh_eval);
mesh_build_extra_data(depsgraph, ob, mesh_eval);
}