diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-25 12:48:47 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-25 12:48:47 +0000 |
commit | ffa9af11ed7433ca6b81479a89b08d20dc287dc9 (patch) | |
tree | 2a5414fb1aedf11d419347f292954a6ac0136ecf /pmpd_various.c | |
parent | d95fc3a7109f68cf672f9849c9042fcc357dad45 (diff) |
correct same init problem than with pmpd in closestMass
svn path=/trunk/externals/pmpd/; revision=17341
Diffstat (limited to 'pmpd_various.c')
-rw-r--r-- | pmpd_various.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pmpd_various.c b/pmpd_various.c index f21bf51..9233800 100644 --- a/pmpd_various.c +++ b/pmpd_various.c @@ -166,6 +166,7 @@ void pmpd_closestMass(t_pmpd *x, t_symbol *s, int argc, t_atom *argv) else { if ((x->nb_mass > 0)) { + x->grab_nb= 0; dist = x->mass[0].posX - posX; for (i=1; i<x->nb_mass; i++) { |