Skip to content
Permalink
Browse files

Remove another member from ModelerAlgorithm

  • Loading branch information
nyalldawson committed Jun 23, 2017
1 parent 10aeba2 commit 8e88276ab5ef024a93d1aff2dce7e31f318d59b5
@@ -174,8 +174,6 @@ def asPythonParameter(self):

class ModelerAlgorithm(QgsProcessingModelAlgorithm):

CANVAS_SIZE = 4000

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

@@ -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)

0 comments on commit 8e88276

Please sign in to comment.
You can’t perform that action at this time.