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:
authorJacques Lucke <jacques@blender.org>2021-09-22 19:44:35 +0300
committerJacques Lucke <jacques@blender.org>2021-09-22 19:45:11 +0300
commitbd1c4a781f6b7dbca16e76bd8b475bea26153243 (patch)
tree888490f9942bb1f3954ec98a973575c75dcbf12d /source/blender/functions
parent3180c6b4a70596a1c04d0abf7e035ce12e3fe599 (diff)
Geometry Nodes: fix evaluating field to span
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/intern/field.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc
index 6a4518ad4a6..599e4d4595a 100644
--- a/source/blender/functions/intern/field.cc
+++ b/source/blender/functions/intern/field.cc
@@ -468,7 +468,8 @@ Vector<const GVArray *> evaluate_fields(ResourceScope &scope,
/* Still have to copy over the data in the destination provided by the caller. */
if (output_varray->is_span()) {
/* Materialize into a span. */
- computed_varray->materialize_to_uninitialized(output_varray->get_internal_span().data());
+ computed_varray->materialize_to_uninitialized(mask,
+ output_varray->get_internal_span().data());
}
else {
/* Slower materialize into a different structure. */