Merge branch 'blender-v3.4-release'
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user