Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] update points displacement alg to new ParameterVector sy…
…ntax
  • Loading branch information
alexbruy committed Sep 13, 2013
1 parent 395dc74 commit 72536f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/sextante/algs/PointsDisplacement.py
Expand Up @@ -48,7 +48,7 @@ def defineCharacteristics(self):
self.name = "Points displacement"
self.group = "Vector geometry tools"

self.addParameter(ParameterVector(self.INPUT_LAYER, "Input layer", ParameterVector.VECTOR_TYPE_POINT))
self.addParameter(ParameterVector(self.INPUT_LAYER, "Input layer", [ParameterVector.VECTOR_TYPE_POINT]))
self.addParameter(ParameterNumber(self.DISTANCE, "Displacement distance", 0.00001, 999999999.999990, 0.00015))
self.addParameter(ParameterBoolean(self.HORIZONTAL, "Horizontal distribution for two point case"))
self.addOutput(OutputVector(self.OUTPUT_LAYER, "Output layer"))
Expand Down

0 comments on commit 72536f6

Please sign in to comment.