Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-01-04 15:38:02 +0300
committerJacques Lucke <jacques@blender.org>2022-01-04 15:38:02 +0300
commit3f3adef4a07df05fe92e0b948d4e2bc48f5ec3fc (patch)
treebd663322534a595e3e07bf37bce66fb7d177fe2b /source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
parentc5b55a84f58aebc302de66fff13816d4beda38ee (diff)
parentb2867d436585bf7ff92f1d7e9a0de9bb5ede006b (diff)
Merge branch 'master' into temp-copy-on-writetemp-copy-on-write
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
index 7d41242b8bc..5ea8034c437 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
@@ -545,7 +545,7 @@ static void separate_instance_selection(GeometrySet &geometry_set,
Vector<int64_t> indices;
const IndexMask mask = index_mask_indices(selection, invert, indices);
- if (mask.size() == 0) {
+ if (mask.is_empty()) {
geometry_set.remove<InstancesComponent>();
return;
}
@@ -1377,7 +1377,7 @@ void register_node_type_geo_delete_geometry()
static bNodeType ntype;
- geo_node_type_base(&ntype, GEO_NODE_DELETE_GEOMETRY, "Delete Geometry", NODE_CLASS_GEOMETRY, 0);
+ geo_node_type_base(&ntype, GEO_NODE_DELETE_GEOMETRY, "Delete Geometry", NODE_CLASS_GEOMETRY);
node_type_storage(&ntype,
"NodeGeometryDeleteGeometry",