[Bf-blender-cvs] [892562b7bf9] master: Cleanup: Remove incorrect statement after recent refactor

Hans Goudey noreply at git.blender.org
Mon May 9 18:00:50 CEST 2022


Commit: 892562b7bf9c3f5ff82947eae38116d8c0fdcaea
Author: Hans Goudey
Date:   Mon May 9 18:00:47 2022 +0200
Branches: master
https://developer.blender.org/rB892562b7bf9c3f5ff82947eae38116d8c0fdcaea

Cleanup: Remove incorrect statement after recent refactor

===================================================================

M	source/blender/geometry/intern/resample_curves.cc

===================================================================

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();
 }



More information about the Bf-blender-cvs mailing list