[Bf-blender-cvs] [6878897a6de] master: Cleanup: Clang tidy lamda function name
Hans Goudey
noreply at git.blender.org
Sun Dec 19 00:18:50 CET 2021
Commit: 6878897a6de60c5055d46a65cb758a3a614baec9
Author: Hans Goudey
Date: Sat Dec 18 17:18:41 2021 -0600
Branches: master
https://developer.blender.org/rB6878897a6de60c5055d46a65cb758a3a614baec9
Cleanup: Clang tidy lamda function name
===================================================================
M source/blender/geometry/intern/realize_instances.cc
===================================================================
diff --git a/source/blender/geometry/intern/realize_instances.cc b/source/blender/geometry/intern/realize_instances.cc
index ae513bf88e9..4022794d53f 100644
--- a/source/blender/geometry/intern/realize_instances.cc
+++ b/source/blender/geometry/intern/realize_instances.cc
@@ -1167,7 +1167,7 @@ static void execute_realize_curve_task(const RealizeInstancesOptions &options,
const AttributeIDRef &attribute_id = ordered_attributes.ids[attribute_index];
const void *attribute_fallback = task.attribute_fallbacks.array[attribute_index];
const std::optional<GSpan> src_span_opt = src_point_attributes.get_for_read(attribute_id);
- void *dst_buffer = MEM_malloc_arrayN(spline_size, cpp_type.size(), __func__);
+ void *dst_buffer = MEM_malloc_arrayN(spline_size, cpp_type.size(), "Curve Attribute");
if (src_span_opt.has_value()) {
const GSpan src_span = *src_span_opt;
cpp_type.copy_construct_n(src_span.data(), dst_buffer, spline_size);
More information about the Bf-blender-cvs
mailing list