From 163c8f75265054a168cc1e2750a0adb40fb08d83 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sat, 22 Mar 2025 13:01:14 +0000
Subject: Make Collections::objects protected, extend interface

Keeps all required features accessible, but through a controlled
interface.
---
 ui/builders/straight.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/builders/straight.cpp')

diff --git a/ui/builders/straight.cpp b/ui/builders/straight.cpp
index 338aa8a..6815689 100644
--- a/ui/builders/straight.cpp
+++ b/ui/builders/straight.cpp
@@ -17,7 +17,7 @@ BuilderStraight::move(
 {
 	if (p1) {
 		if (const auto p = geoData->intersectRay(ray)) {
-			candidateLinks.objects = network->candidateStraight(*p1, p->first);
+			candidateLinks = network->candidateStraight(*p1, p->first);
 		}
 		else {
 			candidateLinks.removeAll();
-- 
cgit v1.2.3