File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def name():
22
22
def description ():
23
23
return "Integrate gdal tools into qgis"
24
24
def version ():
25
- return "Version 1.2.21 "
25
+ return "Version 1.2.22 "
26
26
def qgisMinimumVersion ():
27
27
return "1.0"
28
28
def icon ():
Original file line number Diff line number Diff line change @@ -59,12 +59,14 @@ def fillInputFiles(self):
59
59
for i in range (self .canvas .layerCount ()- 1 , - 1 , - 1 ):
60
60
layer = self .canvas .layer (i )
61
61
# only raster layers, but not WMS ones
62
- if layer .type () == layer .RasterLayer and ( not layer .usesProvider () ):
63
- # do not use the output file as input
64
- if layer .source () == self .outputFileEdit .text ():
65
- continue
66
-
67
- self .inputFiles << layer .source ()
62
+ if layer .type () == layer .RasterLayer :
63
+ if layer .usesProvider () and layer .providerKey () != 'gdal' :
64
+ continue
65
+
66
+ # do not use the output file as input
67
+ if layer .source () == self .outputFileEdit .text ():
68
+ continue
69
+ self .inputFiles << layer .source ()
68
70
69
71
if self .inputFiles .isEmpty ():
70
72
self .extentSelector .stop ()
You can’t perform that action at this time.
0 commit comments