Fix: Curve resolution input node missing default #104674

Merged
Hans Goudey merged 4 commits from HooglyBoogly/blender:fix-geometry-nodes-curve-resolution-default into main 2023-02-14 19:59:49 +01:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit c77767255f - Show all commits

View File

@ -34,6 +34,11 @@ class ResolutionFieldInput final : public bke::CurvesFieldInput {
{
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)