]> git.dabkitsch.com - zeropointnine.git/commitdiff
new attempt of bug fix
authorequilet <jml@dabkitsch.com>
Sat, 26 May 2018 22:04:34 +0000 (17:04 -0500)
committerequilet <jml@dabkitsch.com>
Sat, 26 May 2018 22:04:34 +0000 (17:04 -0500)
max/lib_krate/zpn_warp.maxpat

index 4a5da1051486819dc2727c52b6fdf13d183c6d55..034b22a9cb7a4549098fa4c8105aad28574ed52f 100644 (file)
@@ -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,
                "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"
                                }
                                        "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)"
                                }
 
                        }