diff options
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_pointcloud.cc')
-rw-r--r-- | source/blender/blenkernel/intern/geometry_component_pointcloud.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_pointcloud.cc b/source/blender/blenkernel/intern/geometry_component_pointcloud.cc index 4953da8a5ee..238854c987e 100644 --- a/source/blender/blenkernel/intern/geometry_component_pointcloud.cc +++ b/source/blender/blenkernel/intern/geometry_component_pointcloud.cc @@ -111,7 +111,6 @@ namespace blender::bke { */ static ComponentAttributeProviders create_attribute_providers_for_point_cloud() { - static auto update_custom_data_pointers = [](void * /*owner*/) {}; static CustomDataAccessInfo point_access = { [](void *owner) -> CustomData * { PointCloud *pointcloud = static_cast<PointCloud *>(owner); @@ -124,8 +123,7 @@ static ComponentAttributeProviders create_attribute_providers_for_point_cloud() [](const void *owner) -> int { const PointCloud *pointcloud = static_cast<const PointCloud *>(owner); return pointcloud->totpoint; - }, - update_custom_data_pointers}; + }}; static BuiltinCustomDataLayerProvider position("position", ATTR_DOMAIN_POINT, |