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:
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index fce520d04fa..ee10adbf7db 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -4542,7 +4542,7 @@ void sculpt_pbvh_clear(Object *ob)
ss->pbvh = NULL;
if (dm)
dm->getPBVH(NULL, dm);
- BKE_object_free_display(ob);
+ BKE_object_free_derived_caches(ob);
}
void sculpt_update_after_dynamic_topology_toggle(bContext *C)