diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-08 16:42:27 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-08 16:51:49 +0300 |
commit | 335e030753b5b02611ec81bfb3c3550820706fb3 (patch) | |
tree | 85b9a0366d11e005545d3842674c6cffe782b73b /source/blender/blenkernel/intern/DerivedMesh.c | |
parent | 934b9e80d02f4a3d6e99a9f3228f9e0959bd88dc (diff) |
mesh_get_eval_final() should check ob->runtime.mesh_eval
It has nothing to do with ob->derivedFinal, which it checked before.
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 24fee9e815d..c081bb0799f 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -3138,7 +3138,7 @@ Mesh *mesh_get_eval_final( bool need_mapping; dataMask |= object_get_datamask(depsgraph, ob, &need_mapping); - if (!ob->derivedFinal || + if (!ob->runtime.mesh_eval || ((dataMask & ob->lastDataMask) != dataMask) || (need_mapping != ob->lastNeedMapping)) { |