From bfb2e87a9ea0d8490cb5faec4d0d8a7066f0093a Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 22 Feb 2021 23:33:04 -0600 Subject: Cleanup: Use shorter enum names With the full node name at the beginning, these names can get quite long. Slightly different words shorten them just a bit. --- source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc index 9b36090b6a0..553b8ea364f 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc @@ -425,8 +425,8 @@ static void geo_node_point_distribute_exec(GeoNodeExecParams params) /* TODO: This node only needs read-only access to input instances. */ geometry_set = geometry_set_realize_instances(geometry_set); - GeometryNodePointDistributeMethod distribute_method = - static_cast(params.node().custom1); + GeometryNodePointDistributeMode distribute_method = static_cast( + params.node().custom1); if (!geometry_set.has_mesh()) { params.error_message_add(NodeWarningType::Error, "Geometry must contain a mesh."); -- cgit v1.2.3