Fix: Curve resolution input node missing default #104674
|
@ -34,6 +34,11 @@ class ResolutionFieldInput final : public bke::CurvesFieldInput {
|
||||||
{
|
{
|
||||||
return dynamic_cast<const ResolutionFieldInput *>(&other) != nullptr;
|
return dynamic_cast<const ResolutionFieldInput *>(&other) != nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::optional<eAttrDomain> preferred_domain(const bke::CurvesGeometry & /*curves*/) const final
|
||||||
|
{
|
||||||
|
return ATTR_DOMAIN_CURVE;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void node_geo_exec(GeoNodeExecParams params)
|
static void node_geo_exec(GeoNodeExecParams params)
|
||||||
|
|
Loading…
Reference in New Issue