Ok, here's the fix. This solves all but a few of the similar errors at
patch closing (e.g. open the same pd patch-> open subpatch-> close
subpatch-> close main patch-> get 2 errors invalid command name
".<window_name>.c".). This remaining bug does not happen if you close
the entire patch with both windows open.

At any rate, the other fix is attached.

ico
--- ../src_old/g_editor.c	2009-11-02 12:10:00.000000000 -0500
+++ g_editor.c	2009-11-19 01:35:36.000000000 -0500
@@ -67,7 +67,8 @@
 {
     t_object *ob;
     if (!glist->gl_havewindow && glist->gl_isgraph && glist->gl_goprect &&
-        glist->gl_owner && (pd_class(&glist->gl_pd) != garray_class))
+        glist->gl_owner && (pd_class(&glist->gl_pd) != garray_class) &&
+		glist_isvisible(glist))
     {
         /* if we're graphing-on-parent and the object falls outside the
         graph rectangle, don't draw it. */

_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to