GPv3: Fix Field inputs that had no inputs

For example:
* Curve Tangent
* Spline Parameter
This commit is contained in:
Hans Goudey 2023-10-13 18:50:15 +02:00 committed by Dalai Felinto
parent 71feaba657
commit e1fb095f0e
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ GVArray CurvesFieldInput::get_varray_for_context(const fn::FieldContext &context
if (const GeometryFieldContext *geometry_context = dynamic_cast<const GeometryFieldContext *>(
&context))
{
if (const CurvesGeometry *curves = geometry_context->curves()) {
if (const CurvesGeometry *curves = geometry_context->curves_or_strokes()) {
return this->get_varray_for_context(*curves, geometry_context->domain(), mask);
}
}