Cleanup: Remove unused curve positions variable

This commit is contained in:
Hans Goudey
2023-11-29 10:32:52 -05:00
parent db3d59d94d
commit c28cb3d0ac

View File

@@ -249,7 +249,6 @@ static void grease_pencil_edit_batch_ensure(const GreasePencil &grease_pencil, c
const bke::CurvesGeometry &curves = info.drawing.strokes();
const bke::AttributeAccessor attributes = curves.attributes();
const OffsetIndices<int> points_by_curve = curves.points_by_curve();
const Span<float3> positions = curves.positions();
/* Assumes that if the ".selection" attribute does not exist, all points are selected. */
const VArray<float> selection_float = *attributes.lookup_or_default<float>(