diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-12 11:01:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-12 15:30:50 +0300 |
commit | 3b2e19cb4c7a14bf4f76a8470e559409ce837ff5 (patch) | |
tree | cbda25aaec86ce4d7027258c9720f7c80bdb7b72 /source | |
parent | c279592123aceb39d1301c1dd3492884ba7f8932 (diff) |
Depsgraph: Ensure modifiers evaluation doesn't happen on top evaluated mesh
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index c081bb0799f..c4904fcaa7c 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -2051,6 +2051,7 @@ static void mesh_calc_modifiers( ModifierApplyFlag app_flags = useRenderParams ? MOD_APPLY_RENDER : 0; ModifierApplyFlag deform_app_flags = app_flags; + BLI_assert((me->id.tag & LIB_TAG_COPIED_ON_WRITE_EVAL_RESULT) == 0); if (useCache) app_flags |= MOD_APPLY_USECACHE; |