From 88a2b054daba747ab2904c19f73c2e2a1bb9617a Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sun, 26 Sep 2021 23:10:26 +0200 Subject: Fix T91732: crash in Set Position node on empty mesh --- source/blender/functions/intern/field.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/functions') diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc index 4f7ea8ec0ef..88e4e5ccd71 100644 --- a/source/blender/functions/intern/field.cc +++ b/source/blender/functions/intern/field.cc @@ -450,7 +450,7 @@ Vector evaluate_fields(ResourceScope &scope, type, array_size, buffer); } - procedure_executor.call(IndexRange(1), mf_params, mf_context); + procedure_executor.call(IndexRange(mask_size), mf_params, mf_context); } /* Copy data to supplied destination arrays if necessary. In some cases the evaluation above has -- cgit v1.2.3