Geometry Nodes: fallback to point domain in viewer instead of corners
For people it's usually unexpected that the node uses the corner domain because one thinks about the points in most cases.
This commit is contained in:
@@ -569,8 +569,7 @@ class LazyFunctionForViewerNode : public LazyFunction {
|
||||
used_domain = *detected_domain;
|
||||
}
|
||||
else {
|
||||
used_domain = type == GEO_COMPONENT_TYPE_MESH ? ATTR_DOMAIN_CORNER :
|
||||
ATTR_DOMAIN_POINT;
|
||||
used_domain = ATTR_DOMAIN_POINT;
|
||||
}
|
||||
}
|
||||
bke::try_capture_field_on_geometry(
|
||||
|
||||
Reference in New Issue
Block a user