@@ -98,15 +98,15 @@ def draw(self, context):
98
98
if IMPORT_GEORASTER :
99
99
self .layout .operator ("importgis.georaster" , icon_value = icons_dict ["raster" ].icon_id , text = "Georeferenced raster (.tif)" )
100
100
if IMPORT_OSM :
101
- self .layout .operator ("importgis.osm_file" , icon_value = icons_dict ["osm_xml " ].icon_id , text = "Open Street Map xml (.osm)" )
101
+ self .layout .operator ("importgis.osm_file" , icon_value = icons_dict ["osm " ].icon_id , text = "Open Street Map xml (.osm)" )
102
102
if IMPORT_ASC :
103
- self .layout .operator ('importgis.asc_file' , text = "ESRI ASCII Grid (.asc)" )
103
+ self .layout .operator ('importgis.asc_file' , icon_value = icons_dict [ "asc" ]. icon_id , text = "ESRI ASCII Grid (.asc)" )
104
104
105
105
class VIEW3D_MT_menu_gis_export (bpy .types .Menu ):
106
106
bl_label = "Export"
107
107
def draw (self , context ):
108
108
if EXPORT_SHP :
109
- self .layout .operator ('exportgis.shapefile' , text = "Shapefile (.shp)" )
109
+ self .layout .operator ('exportgis.shapefile' , text = "Shapefile (.shp)" , icon_value = icons_dict [ "shp" ]. icon_id )
110
110
111
111
class VIEW3D_MT_menu_gis_webgeodata (bpy .types .Menu ):
112
112
bl_label = "Web geodata"
@@ -116,7 +116,7 @@ def draw(self, context):
116
116
if IMPORT_OSM :
117
117
self .layout .operator ("importgis.osm_query" , icon_value = icons_dict ["osm" ].icon_id )
118
118
if GET_SRTM :
119
- self .layout .operator ("importgis.srtm_query" )
119
+ self .layout .operator ("importgis.srtm_query" , icon_value = icons_dict [ "raster" ]. icon_id )
120
120
121
121
class VIEW3D_MT_menu_gis_camera (bpy .types .Menu ):
122
122
bl_label = "Camera"
0 commit comments