From 1ef8877eaaed7c1161e71a947478b3421294ca2a Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Tue, 12 Mar 2013 14:40:00 -0400
Subject: [PATCH] removed unnecessary canvas_vis consistency check

---
 pd/src/g_editor.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index ddfeef6e4..1fe6838ad 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -2011,10 +2011,10 @@ void canvas_vis(t_canvas *x, t_floatarg f)
 	//fprintf(stderr,"canvas_vis .x%lx %f\n", (t_int)x, f);
     char buf[30];
     int flag = (f != 0);
-    if (x != glist_getcanvas(x) && glist_isvisible(glist_getcanvas(x))) {
-        bug("canvas_vis");
+    //if (x != glist_getcanvas(x) && glist_isvisible(glist_getcanvas(x))) {
+        //bug("canvas_vis");
 		//fprintf(stderr,"canvas_vis .x%lx .x%lx %f\n", (t_int)x, (t_int)glist_getcanvas(x), f);
-	}
+	//}
     if (flag)
     {
         /* post("havewindow %d, isgraph %d, isvisible %d  editor %d",
-- 
GitLab