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
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-09-30 19:53:48 +0300
committerHans Goudey <h.goudey@me.com>2021-09-30 19:53:48 +0300
commit827e30bd1512f6917307195ccc934b57623f0f8b (patch)
treea03eb66cbf8ba01a885f23b881de1d551319d698 /source
parent6cff1d648030f65bc299b1abd480c5a36504863d (diff)
Geometry Nodes: Change default for mesh to points node
While "Vertices" may be less useful since mesh vertices are already points, the output is more easily understandable, so it's a better default.
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc
index 2f59a3c968b..6863f685eae 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_to_points.cc
@@ -50,7 +50,7 @@ static void geo_node_mesh_to_points_init(bNodeTree *UNUSED(tree), bNode *node)
{
NodeGeometryMeshToPoints *data = (NodeGeometryMeshToPoints *)MEM_callocN(
sizeof(NodeGeometryMeshToPoints), __func__);
- data->mode = GEO_NODE_MESH_TO_POINTS_FACES;
+ data->mode = GEO_NODE_MESH_TO_POINTS_VERTICES;
node->storage = data;
}