jawensi / DEMto3D-QGIS-Plugin

Extensión GIS para impresión 3D de MDE
http://demto3d.com/
52 stars 23 forks source link

Fixed DEMto3D for QGIS 3.14 "pi" #24

Closed langeroo closed 4 years ago

langeroo commented 4 years ago

removed mMapLayerComboBox.clear() because the dropdown was not getting populated properly after that. It was causing the layer to be 'None'

I also removed mMapLayerComboBox.currentLayer() in case there are no active layers that are Rasters. If there are no rasters, the combo box will just be blank, and that's fine. Better than the plugin crashing.

I've tested on QGIS 3.14 for MacOS.

jawensi commented 4 years ago

Remove mMapLayerComboBox.clear() fix the problem of None Layer. If there are not raster layers loaded, DEMto3D does not start, so I keep mMapLayerComboBox.currentLayer()

Besides I add a filter to exclude wms layers from mMapLayerComboBox