소스 검색

Merge pull request #36854 from AndreaCatania/AndreaCatania-patch-3

Added navigation mesh merging error.
Rémi Verschelde 5 년 전
부모
커밋
54fa07e7f0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/gdnavigation/nav_map.cpp

+ 1 - 0
modules/gdnavigation/nav_map.cpp

@@ -657,6 +657,7 @@ void NavMap::sync() {
 					connection->get().B->edges[connection->get().B_edge].other_edge = connection->get().A_edge;
 				} else {
 					// The edge is already connected with another edge, skip.
+					ERR_PRINT("Attempted to merge a navigation mesh triangle edge with another already-merged edge. This happens when the Navigation's `cell_size` is different from the one used to generate the navigation mesh. This will cause navigation problem.");
 				}
 			}
 		}