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:
authorHans Goudey <h.goudey@me.com>2021-07-01 02:03:45 +0300
committerHans Goudey <h.goudey@me.com>2021-07-01 02:03:45 +0300
commit5a64c687ddccb3012b4fdb5c9cfb5d6459fcf39e (patch)
tree682baa4ab857cb0614277d4ff1c4b878cfcffb1f
parent4f3ec011016c848ad62ad9b9c40767f9fcbf03a4 (diff)
Cleanup: Fix compiler warning from previous commit
The use_deform argument was always passed as zero or one, so the "< 0" check is no longer necessary.
-rw-r--r--source/blender/blenkernel/intern/DerivedMesh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.cc b/source/blender/blenkernel/intern/DerivedMesh.cc
index 61aef0e39c2..52b5ea0a573 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.cc
+++ b/source/blender/blenkernel/intern/DerivedMesh.cc
@@ -1173,7 +1173,7 @@ static void mesh_calc_modifiers(struct Depsgraph *depsgraph,
continue;
}
- if (use_deform < 0 && mti->dependsOnTime && mti->dependsOnTime(md)) {
+ if (mti->dependsOnTime && mti->dependsOnTime(md)) {
continue;
}