fix for report 4440 in the bug tracker
authorJoilnen Leite <joilnen.leite@gmail.com>
Sat, 24 Jun 2006 07:43:13 +0000 (07:43 +0000)
committerJoilnen Leite <joilnen.leite@gmail.com>
Sat, 24 Jun 2006 07:43:13 +0000 (07:43 +0000)
.

source/blender/src/editmesh_mods.c

index 4f62a278c779167f19d88dcfc52e78a28602f87b..f275b85dd733f24c7dfd93954cd28df231317cbd 100644 (file)
@@ -2375,7 +2375,7 @@ void selectrandom_mesh(void) /* randomly selects a user-set % of vertices/edges/
        EditVert *eve;
        EditEdge *eed;
        EditFace *efa;
-       short randfac = 50;
+       static short randfac = 50;
 
        if(G.obedit==NULL || (G.obedit->lay & G.vd->lay)==0) return;