diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-07-19 15:50:53 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-07-19 15:50:53 +0300 |
commit | 62a2faa7ef39130446716d7a06215cd1df1eb2ac (patch) | |
tree | 5e5312cee0233a35016f4b05bc2229eef0e52eed /source/blender | |
parent | 101a493ab556c6597ac91fba204059be67b35990 (diff) |
Object update: Remove fallback from batch_cache_deform_tag
Falback is not really necessary, and causes
`BKE_object_data_batch_cache_dirty_tag` to run multithreaded in an
unsafe way.
No functional changes.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index 7cdea14e9bd..ab1daededed 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -402,8 +402,7 @@ void BKE_object_data_eval_batch_cache_deform_tag(Depsgraph *depsgraph, ID *objec BKE_mesh_batch_cache_dirty_tag((Mesh *)object_data, BKE_MESH_BATCH_DIRTY_DEFORM); break; default: - /* Only mesh is currently supported. Fallback to dirty all for other datablocks types. */ - BKE_object_data_batch_cache_dirty_tag(object_data); + /* Only mesh is currently supported. */ break; } } |