1
0
Fork 0

Teach terrafit about rectified height files.

This commit is contained in:
James.Hester 2018-12-30 10:07:26 +11:00
parent 62359aede2
commit 990417c000
2 changed files with 4 additions and 1 deletions

View file

@ -1,8 +1,11 @@
add_executable(terrafit terrafit.cc)
include_directories(${PROJECT_SOURCE_DIR}/src/Lib/terragear)
target_link_libraries(terrafit
Array Terra
terragear
${ZLIB_LIBRARY}
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})

View file

@ -239,7 +239,7 @@ void walk_path(const SGPath& path) {
return;
}
if ((path.lower_extension() == "arr") || (path.complete_lower_extension() == "arr.gz")) {
if ((path.lower_extension() == "arr") || (path.complete_lower_extension() == "arr.rectified.gz")) {
SG_LOG(SG_GENERAL, SG_DEBUG, "will queue " << path);
queue_fit_file(path);
} else if (path.isDir()) {