mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +08:00
-ref and -m options no longer exclusive
This commit is contained in:
@@ -724,8 +724,8 @@ let _ =
|
||||
|
||||
(* Loading an initial map *)
|
||||
if !geo_ref <> "" then
|
||||
set_georef_if_none geomap (Latlong.of_string !geo_ref)
|
||||
else if !map_file <> "" then begin
|
||||
set_georef_if_none geomap (Latlong.of_string !geo_ref);
|
||||
if !map_file <> "" then begin
|
||||
let xml_map_file = if !map_file.[0] <> '/' then Filename.concat default_path_maps !map_file else !map_file in
|
||||
display_map geomap xml_map_file
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user