diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2021-06-17 11:13:07 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2021-06-17 11:13:07 +0300 |
commit | ffd606bd57366823e71b1a336646f950ec7aed22 (patch) | |
tree | b69100cfde5b9e09c61a4713569a198afad99a42 | |
parent | a6ee7a4f1db914fbeac372dad6bf0d7113c5aa84 (diff) |
Remove unnecessary noop check in interpolator.
-rw-r--r-- | source/blender/blenkernel/intern/mesh_sample.cc | 4 |
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; } |