Fix: Missing const specifier for curve field input

Mistake in 000e722c7d, which probably made the viewer node
auto-domain detection behave differently when the special case was used.
This commit is contained in:
Hans Goudey
2023-02-12 20:17:41 -05:00
parent 6ea3fdebc8
commit 2a7440176e

View File

@@ -219,7 +219,7 @@ class CurveStartPointInput final : public bke::CurvesFieldInput {
return false;
}
std::optional<eAttrDomain> preferred_domain(const bke::CurvesGeometry & /*curves*/)
std::optional<eAttrDomain> preferred_domain(const bke::CurvesGeometry & /*curves*/) const final
{
return ATTR_DOMAIN_CURVE;
}