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:
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_attribute_range_query.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_range_query.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_range_query.cc
index c841eaa45b6..1f56a94c55a 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_range_query.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_range_query.cc
@@ -123,9 +123,6 @@ static void geo_node_attribute_range_query_update(bNodeTree *ntree, bNode *node)
/* Disable the source geometry socket when usign the same geometry for points and queries. */
bNodeSocket *source_geo_socket = nodeFindSocket(node, SOCK_IN, "Source Geometry");
bool use_same_geometry = (node->custom1 & GEO_NODE_ATTRIBUTE_RANGE_QUERY_USE_SAME_GEOMETRY);
- if (use_same_geometry) {
- nodeRemSocketLinks(ntree, source_geo_socket);
- }
nodeSetSocketAvailability(source_geo_socket, !use_same_geometry);
}