[Bf-blender-cvs] [c15ae2e87b2] master: Fix: Correct attribute names in resample curves code

Hans Goudey noreply at git.blender.org
Fri Jul 1 02:40:29 CEST 2022


Commit: c15ae2e87b26cfeb3f299dedbd566825a70b2611
Author: Hans Goudey
Date:   Thu Jun 30 19:30:06 2022 -0500
Branches: master
https://developer.blender.org/rBc15ae2e87b26cfeb3f299dedbd566825a70b2611

Fix: Correct attribute names in resample curves code

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

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 36525e1bdf0..c18c776fead 100644
--- a/source/blender/geometry/intern/resample_curves.cc
+++ b/source/blender/geometry/intern/resample_curves.cc
@@ -77,8 +77,8 @@ static bool interpolate_attribute_to_poly_curve(const bke::AttributeIDRef &attri
   static const Set<StringRef> no_interpolation{{
       "handle_type_left",
       "handle_type_right",
-      "handle_position_right",
-      "handle_position_left",
+      "handle_right",
+      "handle_left",
       "nurbs_weight",
   }};
   return !(attribute_id.is_named() && no_interpolation.contains(attribute_id.name()));



More information about the Bf-blender-cvs mailing list