diff --git a/project/addons/terrain_3d/src/baker.gd b/project/addons/terrain_3d/src/baker.gd index 280fae23..822d5769 100644 --- a/project/addons/terrain_3d/src/baker.gd +++ b/project/addons/terrain_3d/src/baker.gd @@ -374,10 +374,8 @@ func _do_set_up_navigation(p_nav_region: NavigationRegion3D, p_terrain: Terrain3 var index: int = p_terrain.get_index() var t_owner: Node = p_terrain.owner - parent.remove_child(p_terrain) - p_nav_region.add_child(p_terrain) - parent.add_child(p_nav_region, true) + p_terrain.reparent(p_nav_region) parent.move_child(p_nav_region, index) p_nav_region.owner = t_owner