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:
authorLukas Tönne <lukas.toenne@gmail.com>2021-06-17 11:13:07 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2021-06-17 11:13:07 +0300
commitffd606bd57366823e71b1a336646f950ec7aed22 (patch)
treeb69100cfde5b9e09c61a4713569a198afad99a42
parenta6ee7a4f1db914fbeac372dad6bf0d7113c5aa84 (diff)
Remove unnecessary noop check in interpolator.
-rw-r--r--source/blender/blenkernel/intern/mesh_sample.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/mesh_sample.cc b/source/blender/blenkernel/intern/mesh_sample.cc
index f52098e9b40..7bc73762506 100644
--- a/source/blender/blenkernel/intern/mesh_sample.cc
+++ b/source/blender/blenkernel/intern/mesh_sample.cc
@@ -222,10 +222,6 @@ void MeshAttributeInterpolator::sample_attribute(const ReadAttributeLookup &src_
OutputAttribute &dst_attribute,
eAttributeMapMode mode)
{
- if (looptri_indices_.is_empty()) {
- return;
- }
-
if (!src_attribute || !dst_attribute) {
return;
}