From 04c87d827b9141ee118e8b33a1b49607286da988 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Wed, 22 Jul 2020 12:14:26 -0400 Subject: [PATCH] port fix from Vanilla: preserve phase in [clone] after [all( message vanilla commit 853967de05253eaba8bf153450d573e8b6067576 --- pd/src/g_clone.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pd/src/g_clone.c b/pd/src/g_clone.c index 8eba7ba15..bb85141a4 100644 --- a/pd/src/g_clone.c +++ b/pd/src/g_clone.c @@ -125,12 +125,13 @@ static void clone_in_set(t_in *x, t_floatarg f) static void clone_in_all(t_in *x, t_symbol *s, int argc, t_atom *argv) { - int i; + int phasewas = x->i_owner->x_phase, i; for (i = 0; i < x->i_owner->x_n; i++) { x->i_owner->x_phase = i; clone_in_this(x, s, argc, argv); } + x->i_owner->x_phase = phasewas; } static void clone_in_vis(t_in *x, t_floatarg fn, t_floatarg vis) -- GitLab