Commit: bd1c4a781f6b7dbca16e76bd8b475bea26153243
Author: Jacques Lucke
Date: Wed Sep 22 18:44:35 2021 +0200
Branches: master
https://developer.blender.org/rBbd1c4a781f6b7dbca16e76bd8b475bea26153243
Geometry Nodes: fix evaluating field to span
===================================================================
M source/blender/functions/intern/field.cc
===================================================================
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. */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs