diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc index 06b672c346a..0be40b2277e 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc +++ b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc @@ -135,8 +135,8 @@ void cache_init(bContext *C, float start_strength) { SculptSession &ss = *ob.sculpt; - bke::pbvh::Tree &pbvh = *bke::object::pbvh_get(ob); Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C); + bke::pbvh::Tree &pbvh = *bke::object::pbvh_get(ob); ss.filter_cache = MEM_new(__func__); ss.filter_cache->start_filter_strength = start_strength;