From e9461435efd3afa814915049bb578223c840eecb Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Tue, 16 May 2017 20:42:22 -0400
Subject: [PATCH] remove erroneous patch existence check from gui_drawimage_new

---
 pd/nw/pdgui.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js
index 99b17592e..9ba8a8796 100644
--- a/pd/nw/pdgui.js
+++ b/pd/nw/pdgui.js
@@ -3494,9 +3494,6 @@ function gui_drawimage_new(obj_tag, file_path, canvasdir, flags) {
         files,
         ext,
         img; // dummy image to measure width and height
-    if (!patchwin[cid]) {
-        return;
-    }
     image_seq = flags & drawsprite;
     if (!path.isAbsolute(file_path)) {
         file_path = path.join(canvasdir, file_path);
-- 
GitLab