Fix: Build issue with MSVC

MSVC couldn't decide between two templates and needed a little help
This commit is contained in:
Ray Molenkamp
2023-07-20 09:10:31 -06:00
parent c1cb7f0900
commit f10fdcd0e8

View File

@@ -467,7 +467,7 @@ static int grease_pencil_stroke_simplify_exec(bContext *C, wmOperator *op)
const Span<float3> positions = curves.positions();
const VArray<bool> cyclic = curves.cyclic();
const OffsetIndices points_by_curve = curves.points_by_curve();
const OffsetIndices<int> points_by_curve = curves.points_by_curve();
const VArray<bool> selection = *curves.attributes().lookup_or_default<bool>(
".selection", ATTR_DOMAIN_POINT, true);