Skip to content

Commit

Permalink
Remove another member from ModelerAlgorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 23, 2017
1 parent 10aeba2 commit 8e88276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions python/plugins/processing/modeler/ModelerAlgorithm.py
Expand Up @@ -174,8 +174,6 @@ def asPythonParameter(self):

class ModelerAlgorithm(QgsProcessingModelAlgorithm):

CANVAS_SIZE = 4000

def __init__(self):
super().__init__()

Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -492,8 +492,8 @@ def openModel(self):

def repaintModel(self, controls=True):
self.scene = ModelerScene(self, dialog=self)
self.scene.setSceneRect(QRectF(0, 0, ModelerAlgorithm.CANVAS_SIZE,
ModelerAlgorithm.CANVAS_SIZE))
self.scene.setSceneRect(QRectF(0, 0, self.CANVAS_SIZE,
self.CANVAS_SIZE))
self.scene.paintModel(self.model, controls)
self.view.setScene(self.scene)

Expand Down

0 comments on commit 8e88276

Please sign in to comment.