change is with '=='
parent
86139a20fb
commit
adfd887924
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue