From cc0a6ac3c06dd6053ba0875374e165201c449349 Mon Sep 17 00:00:00 2001 From: equilet Date: Sat, 26 May 2018 17:04:34 -0500 Subject: [PATCH] new attempt of bug fix --- max/lib_krate/zpn_warp.maxpat | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/max/lib_krate/zpn_warp.maxpat b/max/lib_krate/zpn_warp.maxpat index 4a5da10..034b22a 100644 --- a/max/lib_krate/zpn_warp.maxpat +++ b/max/lib_krate/zpn_warp.maxpat @@ -9,7 +9,7 @@ "modernui" : 1 } , - "rect" : [ 519.0, 79.0, 762.0, 711.0 ], + "rect" : [ 69.0, 91.0, 762.0, 711.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,6 +37,22 @@ "style" : "", "subpatcher_template" : "gridded", "boxes" : [ { + "box" : { + "fontface" : 0, + "fontsize" : 10.0, + "id" : "obj-5", + "linecount" : 5, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 463.5, 43.5, 218.0, 75.0 ], + "presentation_rect" : [ 465.0, 42.777786, 0.0, 0.0 ], + "text" : "if(/hands == 2, \n /gesture/openclose/active = 1, \n /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)" + } + + } +, { "box" : { "fontface" : 0, "fontsize" : 10.0, @@ -46,8 +62,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 409.5, 147.888885, 205.0, 64.0 ], - "presentation_rect" : [ 410.0, 148.777786, 0.0, 0.0 ], + "patching_rect" : [ 478.5, 158.888885, 205.0, 64.0 ], "text" : "if(/hands != 2, \n /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)" } @@ -72,7 +87,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 179.0, 257.0, 78.0, 22.0 ], + "patching_rect" : [ 179.0, 246.0, 78.0, 22.0 ], "style" : "", "text" : "o.route /gate" } @@ -83,13 +98,13 @@ "fontface" : 0, "fontsize" : 10.0, "id" : "obj-22", - "linecount" : 5, + "linecount" : 4, "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 179.0, 174.777786, 218.0, 75.0 ], - "text" : "if(/hands == 2, \n /gesture/openclose/active = 1, \n /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)" + "patching_rect" : [ 179.0, 174.777786, 205.0, 64.0 ], + "text" : "if(/hands != 2, \n /gesture/openclose/active = 0\n),\n/gate = (/hands == 2)" } } -- 2.34.1