From 892562b7bf9c3f5ff82947eae38116d8c0fdcaea Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 9 May 2022 18:00:47 +0200 Subject: Cleanup: Remove incorrect statement after recent refactor --- source/blender/geometry/intern/resample_curves.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/blender/geometry/intern/resample_curves.cc b/source/blender/geometry/intern/resample_curves.cc index 4f1fbfd29d1..5eba3ff3b3a 100644 --- a/source/blender/geometry/intern/resample_curves.cc +++ b/source/blender/geometry/intern/resample_curves.cc @@ -161,9 +161,6 @@ static void gather_point_attributes_to_interpolate(const CurveComponent &src_com result.dst_no_interpolation, result.dst_attributes); - /* Copy the result curves with pointers to new attributes back to the original. */ - memcpy((void *)&dst_curves, &dst_component.get_for_write()->geometry, sizeof(CurvesGeometry)); - dst_curves.update_customdata_pointers(); } -- cgit v1.2.3