[Bf-blender-cvs] [7e6b702e658] blender2.8: Fix T52053: Sculpt missing update w/ clay engine
Campbell Barton
noreply at git.blender.org
Tue Aug 22 14:06:19 CEST 2017
Commit: 7e6b702e658f7da062a42e677cb63c7d3a0c7d37
Author: Campbell Barton
Date: Tue Aug 22 22:07:38 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB7e6b702e658f7da062a42e677cb63c7d3a0c7d37
Fix T52053: Sculpt missing update w/ clay engine
Leaving sculpt mode wasn't updating the mesh because the update
flushed from the depsgraph ignored edits to vertex location.
===================================================================
M source/blender/blenkernel/intern/object_update.c
===================================================================
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c
index 99010c7a9fc..c5d267ace9d 100644
--- a/source/blender/blenkernel/intern/object_update.c
+++ b/source/blender/blenkernel/intern/object_update.c
@@ -337,7 +337,7 @@ void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx,
switch (ob->type) {
case OB_MESH:
- BKE_mesh_batch_cache_dirty(ob->data, BKE_MESH_BATCH_DIRTY_MAYBE_ALL);
+ BKE_mesh_batch_cache_dirty(ob->data, BKE_MESH_BATCH_DIRTY_ALL);
break;
case OB_LATTICE:
BKE_lattice_batch_cache_dirty(ob->data, BKE_LATTICE_BATCH_DIRTY_ALL);
More information about the Bf-blender-cvs
mailing list