Fix #118905: Geometry Nodes: GP3 component and face corner in separate geometry node

Pull Request: https://projects.blender.org/blender/blender/pulls/118916
This commit is contained in:
Iliya Katueshenock 2024-03-12 14:41:23 +01:00 committed by Jacques Lucke
parent 998514af7b
commit 29ff84352f
2 changed files with 3 additions and 2 deletions

View File

@ -180,7 +180,7 @@ void separate_geometry(bke::GeometrySet &geometry_set,
}
}
if (const Mesh *mesh = geometry_set.get_mesh()) {
if (ELEM(domain, AttrDomain::Point, AttrDomain::Edge, AttrDomain::Face, AttrDomain::Corner)) {
if (ELEM(domain, AttrDomain::Point, AttrDomain::Edge, AttrDomain::Face)) {
std::optional<Mesh *> dst_mesh = separate_mesh_selection(
*mesh, selection, domain, mode, propagation_info);
if (dst_mesh) {

View File

@ -102,7 +102,8 @@ static void node_rna(StructRNA *srna)
"Which domain to separate on",
rna_enum_attribute_domain_without_corner_items,
NOD_storage_enum_accessors(domain),
int(AttrDomain::Point));
int(AttrDomain::Point),
enums::domain_without_corner_experimental_grease_pencil_version3_fn);
}
static void node_register()