File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
python/plugins/processing Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ def setOutputCRS(self):
283
283
if p is not None :
284
284
self .crs = p .crs ()
285
285
return
286
- qgis = dataobjects .iface
286
+ qgis = dataobjects .interface . iface
287
287
self .crs = qgis .mapCanvas ().mapRenderer ().destinationCrs ()
288
288
289
289
def checkInputCRS (self ):
Original file line number Diff line number Diff line change 31
31
32
32
from qgis .core import *
33
33
34
+ from processing import interface
35
+
34
36
from processing .core .QGisLayers import QGisLayers
35
37
36
38
from processing .gui .ParametersDialog import ParametersDialog
@@ -178,7 +180,7 @@ def runAlgorithm(self):
178
180
if not dlg :
179
181
dlg = ParametersDialog (alg )
180
182
181
- canvas = QGisLayers .iface .mapCanvas ()
183
+ canvas = interface .iface .mapCanvas ()
182
184
prevMapTool = canvas .mapTool ()
183
185
184
186
dlg .show ()
Original file line number Diff line number Diff line change 36
36
from processing .gui .EditScriptAction import EditScriptAction
37
37
from processing .gui .DeleteScriptAction import DeleteScriptAction
38
38
from processing .gui .CreateNewScriptAction import CreateNewScriptAction
39
- p
39
+
40
40
from processing .r .RUtils import RUtils
41
41
from processing .r .RAlgorithm import RAlgorithm
42
42
43
43
from processing .script .WrongScriptException import WrongScriptException
44
44
from processing .tools .system import *
45
+
45
46
import processing .resources_rc
46
47
47
48
class RAlgorithmProvider (AlgorithmProvider ):
You can’t perform that action at this time.
0 commit comments