diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 14264847a1a..6236dc87791 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -610,7 +610,7 @@ class GeometryNodesEvaluator { return {required_type, converted_buffer}; } void *default_buffer = allocator_.allocate(required_type.size(), required_type.alignment()); - type.copy_to_uninitialized(type.default_value(), default_buffer); + required_type.copy_to_uninitialized(required_type.default_value(), default_buffer); return {required_type, default_buffer}; } }; |