diff --git a/source/blender/blenkernel/intern/pbvh.cc b/source/blender/blenkernel/intern/pbvh.cc index 7c8c5621f02..11a81b97b68 100644 --- a/source/blender/blenkernel/intern/pbvh.cc +++ b/source/blender/blenkernel/intern/pbvh.cc @@ -2796,7 +2796,7 @@ Span vert_positions_eval(const Depsgraph & /*depsgraph*/, const Object & Span vert_positions_eval_from_eval(const Object &object_eval) { - BLI_assert(!DEG_is_original_object(&object_eval)); + BLI_assert(DEG_is_original_object(&object_eval)); Object &object_orig = *DEG_get_original_object(&const_cast(object_eval)); BLI_assert(object_orig.sculpt->pbvh->type() == Type::Mesh); return object_orig.sculpt->pbvh->vert_positions_; @@ -2816,7 +2816,7 @@ Span vert_normals_eval(const Depsgraph & /*depsgraph*/, const Object &ob Span vert_normals_eval_from_eval(const Object &object_eval) { - BLI_assert(!DEG_is_original_object(&object_eval)); + BLI_assert(DEG_is_original_object(&object_eval)); Object &object_orig = *DEG_get_original_object(&const_cast(object_eval)); BLI_assert(object_orig.sculpt->pbvh->type() == Type::Mesh); return object_orig.sculpt->pbvh->vert_normals_;