Kenneth Strom's patch to make Fractal Subdivide work in the -
direction as well as the positive. Kent
This commit is contained in:
@@ -1431,9 +1431,9 @@ void subdivideflag(int flag, float rad, int beauty)
|
||||
}
|
||||
else if(rad< 0.0) { /* fractal subdivide */
|
||||
fac= rad* VecLenf(eed->v1->co, eed->v2->co);
|
||||
vec1[0]= fac*BLI_drand();
|
||||
vec1[1]= fac*BLI_drand();
|
||||
vec1[2]= fac*BLI_drand();
|
||||
vec1[0]= fac*(0.5-BLI_drand());
|
||||
vec1[1]= fac*(0.5-BLI_drand());
|
||||
vec1[2]= fac*(0.5-BLI_drand());
|
||||
VecAddf(vec, vec, vec1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user