Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-06-09 23:54:26 +0300
committerHans Goudey <h.goudey@me.com>2021-06-09 23:54:26 +0300
commit93fd07e19cf82efd8a0e5882e78f8a49d8053d7d (patch)
tree04554df657a357ee639a9ac222914e6f2a8db532 /source/blender/nodes
parent5f19646d7edef02479bccd7e898f072c9e54ac6e (diff)
Geometry Nodes: Copy spline attributes in the curve resample node
Previously only point domain attributes were copied to the result curve.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc
index 9d0820eb0b0..e879ec624c0 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc
@@ -153,7 +153,7 @@ static std::unique_ptr<CurveEval> resample_curve(const CurveEval &input_curve,
}
}
- output_curve->attributes.reallocate(output_curve->splines().size());
+ output_curve->attributes = input_curve.attributes;
return output_curve;
}