change is with '=='

gpv2
ChristopheSeux 2021-06-16 11:34:22 +02:00
parent 86139a20fb
commit adfd887924
1 changed files with 1 additions and 1 deletions

View File

@ -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)