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:
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc4
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.");