Skip to content
Permalink
Browse files

[processing] update points displacement alg to new ParameterVector sy…

…ntax
  • Loading branch information
alexbruy committed Aug 6, 2013
1 parent 395dc74 commit 72536f65d5eed0445f0d014f28f689560a431fc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/sextante/algs/PointsDisplacement.py
@@ -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"))

0 comments on commit 72536f6

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