From 3d7a208a5013993190f3983ce85168f2606ab309 Mon Sep 17 00:00:00 2001 From: Christophe SEUX Date: Wed, 16 Jun 2021 11:37:51 +0200 Subject: [PATCH] change comparaison --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index 23f8002..c54155a 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 == 'co' : + if attr is 'co' : random_x = (rand()-0.5) random_y = (rand()-0.5)