diff options
author | Jacques Lucke <jacques@blender.org> | 2022-11-06 14:20:26 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-11-06 14:20:26 +0300 |
commit | f4e97bd67d9774433c2bb870126cc8689045f93a (patch) | |
tree | 7df0376f782b17d186129e6c31661e46376fbd81 /source/blender/nodes | |
parent | 037b771e1af53b0f87b73a9fe01e8e660267ec81 (diff) |
Geometry Nodes: fix missing curve cache
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc index 2b732bba889..3170d0aecac 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc @@ -309,6 +309,7 @@ class SampleCurveFunction : public fn::MultiFunction { if (curves.points_num() == 0) { return return_default(); } + curves.ensure_can_interpolate_to_evaluated(); Span<float3> evaluated_positions = curves.evaluated_positions(); Span<float3> evaluated_tangents; Span<float3> evaluated_normals; |