Merge branch 'blender-v3.4-release'

This commit is contained in:
Christoph Lendenfeld
2022-11-30 17:26:01 +01:00

View File

@@ -143,7 +143,9 @@ static void node_geo_exec(GeoNodeExecParams params)
GeometryComponent &component = geometry_set.get_component_for_write(
GEO_COMPONENT_TYPE_INSTANCES);
if (!bke::try_capture_field_on_geometry(component, name, domain, field)) {
failure.store(true);
if (component.attribute_domain_size(domain) != 0) {
failure.store(true);
}
}
}
}
@@ -154,7 +156,9 @@ static void node_geo_exec(GeoNodeExecParams params)
if (geometry_set.has(type)) {
GeometryComponent &component = geometry_set.get_component_for_write(type);
if (!bke::try_capture_field_on_geometry(component, name, domain, field)) {
failure.store(true);
if (component.attribute_domain_size(domain) != 0) {
failure.store(true);
}
}
}
}