From 02aff9ea47946140668c89b89535bc38dfdb75ff Mon Sep 17 00:00:00 2001 From: bdog2112 <115952055+bdog2112@users.noreply.github.com> Date: Thu, 12 Dec 2024 05:26:52 -0800 Subject: [PATCH] Fixed snapping issue --- addons/road-generator/nodes/road_container.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/road-generator/nodes/road_container.gd b/addons/road-generator/nodes/road_container.gd index 72f42a0..47cf5a8 100644 --- a/addons/road-generator/nodes/road_container.gd +++ b/addons/road-generator/nodes/road_container.gd @@ -461,8 +461,8 @@ func get_connected_edges()->Array: var target_cont: RoadContainer = get_node_or_null(edge_containers[idx]) # var is_scene = # Find out if the target container is a scene - if target_cont and target_cont.filename: - print("%s %s is a scene %s" % [Time.get_ticks_msec(), target_cont.name, target_cont.filename]) + if target_cont and target_cont.scene_file_path: + print("%s %s is a scene %s" % [Time.get_ticks_msec(), target_cont.name, target_cont.scene_file_path]) # else: # print("target_cont is null") if not target_cont: