problem was that in Patch.js:rebuild(), the the for..loop was adding the cables to the scene at each iteration, and if a src or dest op hadn't been added yet it was throwing this error. now all ops are added first, and all found connections are added to a cables array. after ops for..loop is done, iterate the cables array and add them to scene then.
problem was that in Patch.js:rebuild(), the the for..loop was adding the cables to the scene at each iteration, and if a src or dest op hadn't been added yet it was throwing this error. now all ops are added first, and all found connections are added to a cables array. after ops for..loop is done, iterate the cables array and add them to scene then.