Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix rebase conflicts
  • Loading branch information
alexbruy committed Sep 15, 2013
1 parent d66fa2f commit 2d101c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/GeoAlgorithm.py
Expand Up @@ -283,7 +283,7 @@ def setOutputCRS(self):
if p is not None:
self.crs = p.crs()
return
qgis = dataobjects.iface
qgis = dataobjects.interface.iface
self.crs = qgis.mapCanvas().mapRenderer().destinationCrs()

def checkInputCRS(self):
Expand Down
4 changes: 3 additions & 1 deletion python/plugins/processing/gui/ScriptEditorDialog.py
Expand Up @@ -31,6 +31,8 @@

from qgis.core import *

from processing import interface

from processing.core.QGisLayers import QGisLayers

from processing.gui.ParametersDialog import ParametersDialog
Expand Down Expand Up @@ -178,7 +180,7 @@ def runAlgorithm(self):
if not dlg:
dlg = ParametersDialog(alg)

canvas = QGisLayers.iface.mapCanvas()
canvas = interface.iface.mapCanvas()
prevMapTool = canvas.mapTool()

dlg.show()
Expand Down
3 changes: 2 additions & 1 deletion python/plugins/processing/r/RAlgorithmProvider.py
Expand Up @@ -36,12 +36,13 @@
from processing.gui.EditScriptAction import EditScriptAction
from processing.gui.DeleteScriptAction import DeleteScriptAction
from processing.gui.CreateNewScriptAction import CreateNewScriptAction
p

from processing.r.RUtils import RUtils
from processing.r.RAlgorithm import RAlgorithm

from processing.script.WrongScriptException import WrongScriptException
from processing.tools.system import *

import processing.resources_rc

class RAlgorithmProvider(AlgorithmProvider):
Expand Down

0 comments on commit 2d101c4

Please sign in to comment.