diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index d4f21dc332f..ae104bfc0a8 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -5957,7 +5957,7 @@ void mesh_rip(void) if( efa->f & 1) break; if(efa->v4 && faceselectedOR(efa, SELECT) ) { - int totsel; + int totsel=0; if(efa->e1->f & SELECT) totsel++; if(efa->e2->f & SELECT) totsel++;