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>2022-01-18 00:02:15 +0300
committerHans Goudey <h.goudey@me.com>2022-01-18 00:02:15 +0300
commit8c1ddee10cfe11c2dba8a5005290db20546c2cb6 (patch)
tree252743450bfe6a03c5ef5c1817fc402b4895f11a /source
parentb776c46d2f67dffd36e2a68a1152c0f0d7bef7e6 (diff)
Geometry Nodes: Set Handle Type Node: Left and right by default
This node's UI uses a multi-select enum to allow adjusting the type of both handle sides with the same node. Since usually the user wants to affect both handles, and it's the multi-select behavior isn't obvious, selecting both by default is an improvement.
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc
index b4ca51d0fa7..74bdce4cef3 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc
@@ -43,7 +43,7 @@ static void node_init(bNodeTree *UNUSED(tree), bNode *node)
NodeGeometryCurveSetHandles *data = MEM_cnew<NodeGeometryCurveSetHandles>(__func__);
data->handle_type = GEO_NODE_CURVE_HANDLE_AUTO;
- data->mode = GEO_NODE_CURVE_HANDLE_LEFT;
+ data->mode = GEO_NODE_CURVE_HANDLE_LEFT | GEO_NODE_CURVE_HANDLE_RIGHT;
node->storage = data;
}