change is with '=='
This commit is contained in:
parent
86139a20fb
commit
adfd887924
@ -166,7 +166,7 @@ def along_stroke(stroke,attr,length,min,max) :
|
|||||||
|
|
||||||
def randomise_points(mat,points,attr,strength) :
|
def randomise_points(mat,points,attr,strength) :
|
||||||
for point in points :
|
for point in points :
|
||||||
if attr is 'co' :
|
if attr == 'co' :
|
||||||
random_x = (rand()-0.5)
|
random_x = (rand()-0.5)
|
||||||
random_y = (rand()-0.5)
|
random_y = (rand()-0.5)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user