@@ -6,7 +6,9 @@ use crate::floodfill_cache::FloodFillCache;
66use crate :: ground:: Ground ;
77use crate :: ground_generation;
88use crate :: map_renderer;
9- use crate :: osm_parser:: { ProcessedElement , ProcessedMemberRole , ProcessedNode , ProcessedWay , ProcessedRelation } ;
9+ use crate :: osm_parser:: {
10+ ProcessedElement , ProcessedMemberRole , ProcessedNode , ProcessedRelation , ProcessedWay ,
11+ } ;
1012use crate :: progress:: { emit_gui_progress_update, emit_map_preview_ready, emit_show_in_folder} ;
1113#[ cfg( feature = "gui" ) ]
1214use crate :: telemetry:: { send_log, LogLevel } ;
@@ -35,7 +37,9 @@ fn accumulate_smallest_area(
3537 flood_fill_cache : & FloodFillCache ,
3638 args : & Args ,
3739) {
38- let Some ( tag_value) = way. tags . get ( & tag_key. to_string ( ) ) else { return ; } ;
40+ let Some ( tag_value) = way. tags . get ( & tag_key. to_string ( ) ) else {
41+ return ;
42+ } ;
3943
4044 let filled = flood_fill_cache. get_or_compute ( way, args. timeout . as_ref ( ) ) ;
4145 let area = filled. len ( ) as f64 ;
@@ -81,8 +85,6 @@ fn accumulate_smallest_area_from_relation(
8185 accumulate_smallest_area ( editor, & way, tag_key, flood_fill_cache, args) ;
8286 }
8387}
84-
85-
8688/// Generate world with explicit format options (used by GUI for Bedrock support)
8789pub fn generate_world_with_options (
8890 elements : Vec < ProcessedElement > ,
0 commit comments