diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-23 08:33:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-23 08:33:04 +0300 |
commit | bfb2e87a9ea0d8490cb5faec4d0d8a7066f0093a (patch) | |
tree | 6fcd3db667bd8faa5f0dc86216c2c75e50ddbf31 /source/blender/nodes | |
parent | 82605093e9bf3b68f6a218d46660ed62ea89816d (diff) |
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.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<GeometryNodePointDistributeMethod>(params.node().custom1); + GeometryNodePointDistributeMode distribute_method = static_cast<GeometryNodePointDistributeMode>( + params.node().custom1); if (!geometry_set.has_mesh()) { params.error_message_add(NodeWarningType::Error, "Geometry must contain a mesh."); |