Fix T99667: regression in Delete Geometry node

Differential Revision: https://developer.blender.org/D15445
This commit is contained in:
Wannes Malfait 2022-07-20 15:48:48 +02:00 committed by Jacques Lucke
parent 29c68e2523
commit 7561183830
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ static void separate_mesh_selection(GeometrySet &geometry_set,
evaluator.evaluate();
const VArray<bool> selection = evaluator.get_evaluated<bool>(0);
/* Check if there is anything to delete. */
if (selection.is_single() && selection.get_internal_single()) {
if (selection.is_empty() || (selection.is_single() && selection.get_internal_single())) {
return;
}