Random number generator: replace a bunch of usage of the global random number
[blender.git] / source / blender / editors / curve / editcurve.c
index 5504b431c50ca5fc4b23ea1fd3c208b4ec07af04..08cae94fc93edbb84b6a985331922e5c45b251c9 100644 (file)
@@ -5402,8 +5402,6 @@ static void selectrandom_curve(ListBase *editnurb, float randfac)
        BPoint *bp;
        int a;
        
-       BLI_srand(BLI_rand()); /* random seed */
-       
        for (nu = editnurb->first; nu; nu = nu->next) {
                if (nu->type == CU_BEZIER) {
                        bezt = nu->bezt;