Skip to content
Browse files
Fix error in Geometry by Expression
We can't depend on preparing the expression, as we may not have
enough context to do this during the algorithm preparation step
  • Loading branch information
nyalldawson committed Nov 23, 2017
1 parent 59d55fc commit 8775aff71b77b80bdef950f62946016800d7015e
Showing 1 changed file with 1 addition and 5 deletions.
@@ -94,11 +94,7 @@ def prepareAlgorithm(self, parameters, context, feedback):
return False

self.expression_context = self.createExpressionContext(parameters, context)

if not self.expression.prepare(self.expression_context):
feedback.reportErro('Evaluation error: {0}').format(self.expression.evalErrorString()))
return False

return True

0 comments on commit 8775aff

Please sign in to comment.