Teach terrafit about rectified height files.
This commit is contained in:
parent
62359aede2
commit
990417c000
2 changed files with 4 additions and 1 deletions
|
@ -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})
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue