diff options
author | Jacques Lucke <jacques@blender.org> | 2022-07-27 19:05:31 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-07-27 19:05:31 +0300 |
commit | 84a3ff63d0135a561233448187663070987e1bac (patch) | |
tree | 42de6d1fbea4517b5f9522a56d7abccb72c00065 /source/blender | |
parent | 84272ce19a5777ef89fb3e50b5a7afb30658658b (diff) |
Fix: missing evaluated offsets in Resample Curve node
Differential Revision: https://developer.blender.org/D15556
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/geometry/intern/resample_curves.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/geometry/intern/resample_curves.cc b/source/blender/geometry/intern/resample_curves.cc index 86c1980d9ee..d61941aa071 100644 --- a/source/blender/geometry/intern/resample_curves.cc +++ b/source/blender/geometry/intern/resample_curves.cc @@ -345,6 +345,7 @@ Curves *resample_to_evaluated(const CurveComponent &src_component, { const bke::CurvesGeometry &src_curves = bke::CurvesGeometry::wrap( src_component.get_for_read()->geometry); + src_curves.ensure_evaluated_offsets(); bke::GeometryComponentFieldContext field_context{src_component, ATTR_DOMAIN_CURVE}; fn::FieldEvaluator evaluator{field_context, src_curves.curves_num()}; |