From 7295794024896f4a0f89da9d4c950fd6714af879 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Mon, 7 Dec 2015 22:58:37 -0500 Subject: [PATCH] attempt to fix bug with box continuing to follow mouse after instantiating an object --- pd/src/g_editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index af5b0ce49..7f412d38e 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -7719,6 +7719,7 @@ static void canvas_createobj(t_canvas *x, t_symbol *s, int argc, t_atom *argv) // Set the dirty flag since we've changed the rtext content... canvas_dirty(x, 1); x->gl_editor->e_textdirty = 1; + x->gl_editor->e_onmotion = MA_NONE; // undo any mouse actions if (s == gensym("createobj")) glist_deselect(x, y); // instantiate break; -- GitLab