From 793210f7c216302d4970ebe52c2975c542f8f193 Mon Sep 17 00:00:00 2001 From: Blockhead Date: Tue, 16 Nov 2021 21:33:51 +1100 Subject: Make selection boxes of track nodes larger This reduces the difficulty of having to point at the centre of the correct track node, and hopefully does not prevent placing tracks in more than a couple of cases. Three-way turnouts on an angle may be an exception but they may be worth it. User feedback is needed. --- advtrains/tracks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advtrains') diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua index 261818e..c415143 100644 --- a/advtrains/tracks.lua +++ b/advtrains/tracks.lua @@ -471,7 +471,7 @@ function advtrains.register_tracks(tracktype, def, preset) walkable = false, selection_box = { type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2}, + fixed = {-1/2-1/16, -1/2, -1/2, 1/2+1/16, -1/2+2/16, 1/2}, }, mesh = def.shared_model or (def.models_prefix.."_"..img_suffix..def.models_suffix), -- cgit v1.2.3