From adfd887924e9a0a7e08b5c8aa9fc272da8765645 Mon Sep 17 00:00:00 2001 From: ChristopheSeux Date: Wed, 16 Jun 2021 11:34:22 +0200 Subject: [PATCH] change is with '==' --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index c54155a..23f8002 100644 --- a/functions.py +++ b/functions.py @@ -166,7 +166,7 @@ def along_stroke(stroke,attr,length,min,max) : def randomise_points(mat,points,attr,strength) : for point in points : - if attr is 'co' : + if attr == 'co' : random_x = (rand()-0.5) random_y = (rand()-0.5)