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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user